JetStream Software Portal

How to Change DNS Server IP Address of DRVA Appliance

This article applies to all JSDR software versions.
Please involve JetStream Software support before attempting to perform this activity.

This article explains how to update/change the DNS server IP address of a DRVA appliance.

Method 1: Using DRVA CLI

  • Launch the DRVA web console and log in with admin credentials.
  • Check the current DNS server IP using the command: cat /etc/resolv.conf
Check the current DNS server IP.
  • Change the DNS server IP address using the command: sudo vi /etc/resolv.conf
    • It will prompt for the password. After entering the password, press the Enter key.
Change the DNS server IP.
  • Press the i key to switch to insert mode, then edit the DNS IP address.
    • To save the changed file, press the ESC key and then type the command :wq!
    • The new DNS IP address will be changed and displayed.
Enter a new DNS IP address.

Since the DRVA is a stateless appliance, changing its DNS using this method will not preserve the IP address after the DRVA is rebooted.

Method 2: Using vCenter GUI

  • Power off the DRVA.
  • Edit the VM Advanced options.
  • Edit all configuration parameter entries matching: guestinfo.net.dns.*
  • Update all such keys with the new DNS IP value.
  • Power the DRVA back on.
Edit configuration parameters from the vCenter GUI.

This method should be used when a DRVA is deployed using static IP to ensure the new IP value will persist after a DRVA reboot.

Method 3: Using a PowerShell Script

  • Use the PowerShell script (change_drva_addr_new.ps1) provided from JetStream Software to change the DRVA DHCP IP to static IP.
  • Add the DNS entry to the script (as shown in the example below) to update the DNS automatically:
    [netConfig]@{ netName="VM Network"; gw="*"; setup=""; routes=""; dns="10.40.0.9"}
  • Click here for example script.

In order to work properly, the script must be executed from PowerShell. The DRVA will be rebooted as part of the update process.

Was this article helpful?

Related Articles