During startup of an ESXi host, attempts are made to reach the configured DNS servers. If connection attempts to the DNS server are unsuccessful, they are retried up to a timeout period. This can manifest as a 15-30 minute delay during the startup process.
These attempts may be unsuccessful if the DNS server is within a virtual machine on the ESX/ESXi host, or if external DNS servers are unreachable from this host for any reason.
Additionally, the host will then re-try these connections to the unavailable DNS servers as it attempts to reach out to network storage based on FQDN. If a customer were to have many volumes to mount via NFS, and that NFS was configured to be reached via FQDN, requiring a DNS server, it could take hours for the ESXi host to boot.
This is a known issue affecting all known versions of ESXi when the systems reference DNS.
Work around this issue by temporarily or permanently removing references to the unavailable DNS servers. If the host is currently stuck in the boot process, the DNS configuration can be changed using an SSH connection to the host. If the host has completed the timeout and booted successfully, the DNS configuration can be changed using the vSphere Client.
While the ESX/ESXi host is booting and has not timed out, it is unreachable from vCenter Server and the vSphere Client and it cannot accept login attempts from the physical console. You can work around this by removing the DNS server references from the command-line and then starting up again. To remove the DNS server references:
/etc/resolv.conf
in a text editor. For more information, see Editing configuration files in VMware ESX (1017022).nameserver 10.11.12.13
auto-backup.sh
reboot
No workaround is necessary once the timeout period has elapsed. However, if you expect that the DNS server might be unavailable during or or more subsequent reboots, avoid a lengthy reboot by temporarily or permanently removing the reference to the unavailable DNS server(s). To remove the DNS server references:
To be alerted when this document is updated, click the Subscribe to Article link in the Actions box
Editing configuration files in VMware ESXi and ESX