For vCenter 6.0:
To reduce the timeout value and allow the appliance to fail over to the next available DNS server, modify the /etc/resolv.conf file.
Note: If you are using a dispersed vSphere topology with one or more external PSCs, vCenter Management nodes, and Single Single On node, you must perform these steps on all appliances. If you modify the DNS settings through the VAMI or the virtual machine console, these values are lost and need to be reapplied.
Note: Take a snapshot of vCenter Appliance before proceeding.
- Take an SSH session to vCenter Server Appliance.
- Take a backup of the /etc/resolv.conf file.
- Open the /etc/resolv.conf file using a suitable text editor.
- Add these values to the end of the file:
options timeout:1 attempts:1 rotate
Notes:
- The timeout value controls the time in seconds before moving on to the next DNS server.
- The attempts value controls the number of retries before moving to the next DNS server.
- The rotate value adds a round robin behavior.
- Save and close the file.
- Reboot the appliance.
For vCenter 7.0:
Validate that the correct and reachable DNS servers are configured.