vCenter Server encounters errors when attempting to authenticate or communicate with Active Directory domain controllers, resulting in operational issues such as delayed virtual machine (VM) deployments, authentication failures, or synchronization errors. The vCenter Server logs report repeated DNS lookup failures for the domain controller’s Service (SRV) records, with errors indicating "Connection timed out" and "Host name lookup failure."
Example Log Snippet (from /var/log/vmware/likewise.log):
ERROR netlogon: [0x7f1d2a7fc640] DNS lookup for '_ldap._tcp.dc._####.####' failed with errno 110 (Connection timed out), h_errno = 2 (Host name lookup failure)
ERROR netlogon: [0x7f1d2affd640] DNS lookup for '_ldap._tcp.dc._ ####.####' failed with errno 110 (Connection timed out), h_errno = 2 (Host name lookup failure)
ERROR netlogon: [0x7f1d4bfff640] DNS lookup for '_ldap._tcp.dc._ ####.####' failed with errno 110 (Connection timed out), h_errno = 2 (Host name lookup failure)
VMware vCenter Server 7.x
VMware vCenter Server 8.x
The vCenter Server appliance is unable to resolve the domain controller’s Fully Qualified Domain Name (FQDN) due to DNS configuration issues. Specifically, the DNS server configured on the vCenter Server lacks the required SRV records (e.g., _ldap._tcp.dc._####.<domain>) or A records for the domain controllers, or there is a network connectivity issue preventing DNS queries from reaching the DNS server. This results in repeated connection timeouts and lookup failures, disrupting vCenter Server’s ability to communicate with Active Directory.
Common causes include:
To resolve the issue, verify and correct the DNS configuration for the vCenter Server appliance. Follow these steps:
1. Verify DNS Server Records:
2. Temporary Workaround:
vi /etc/hosts
Add lines in the format:
##.##.##.# dc1.#### dc1
Save the file and test connectivity:
ping dc1.####
Note: This is a temporary workaround. Relying on /etc/hosts is not recommended for production environments, as it does not scale with dynamic DNS changes and may cause issues during domain controller maintenance.