Steps to modify the DNS settings for the vCenter Server to use a different DNS server IP address.
Prerequisites prior to changing the DNS IP for vCenter server.
SystemConfiguration.Administrators or Administrators group in vCenter Single Sign-On.Changing the DNS server using the VCSA VAMI
root user.https://<vCenter_IP/FQDN>:5480[email protected])."I acknowledge that I have made a backup of my vCenter Server and unregistered extensions before continuing with my network configuration".
A window will appear displaying "Network update in progress: Modifying Network Configuration".
Upon completion, the window will state "Network update succeeded: Process Completed".
Note: The following post-configuration steps apply only when making significant modifications, such as changing the vCenter Server hostname or IP address. They are not required for this procedure, as only the DNS server IP address is being updated.
The vCenter Server services might not start after changing the DNS servers, displaying a "No healthy upstream" error message when connecting via a web browser.
Another possible error message is: "Service did not set the task state".
If the vCenter Server Appliance uses an IP address as its hostname, the following error might appear: "Specified hostname is invalid".
If you are unable to update the DNS configuration via the VAMI, it can be changed using the command-line interface.
Changing the DNS servers using DCLI:
root user.applianceshdcli com vmware appliance networking dns servers get
(Note: The [email protected] credentials are required when the command prompts for a username and password.)dcli com vmware appliance networking dns servers set --mode is_static --servers #.#.#.# --servers #.#.#.#
(Note: To add multiple entries, the --servers flag must be appended multiple times. Rerunning the command overwrites existing values.)
Legacy Solution:
Changing the DNS server using the VAMI_CONFIG_NET
root user./opt/vmware/share/vami/vami_config_netMain Menu0) Show Current Configuration (scroll with Shift-PgUp/PgDown)1) Exit this program2) Default Gateway3) Hostname4) DNS5) Proxy Server6) IP Address Allocation for eth0