This article describes an issue where VMware vSphere ESXi hosts fail to forward logs to a remote syslog server
Symptoms:
vmsyslog.loggers.network include: getaddrinfo: host <syslog_server_fqdn> port 514: [Errno -3] Temporary failure in name resolution failed to establish connection to remote syslog server <syslog_server_fqdn>:514VMware vSphere ESX
The issue is primarily caused by a failure in DNS name resolution on the affected ESX hosts. This can stem from two root scenarios:
To resolve this issue, ensure the ESXi host has functional connectivity to the DNS servers and that the DNS records are correctly configured.
Verify DNS Connectivity: Verify the ESXi host can reach the configured DNS servers (e.g., via ping or nslookup if available in your version).
Check Firewall Rules: Ensure that network-level firewall rules allow traffic from the ESXi management interface (vmk0) to the DNS server IP addresses.
esxcli network firewall set --enabled falseesxcli network firewall set --enabled trueValidate DNS Records: Work with your network administrator to verify that the DNS A or CNAME records for the syslog server FQDN are correctly configured and resolvable by the network segment where the ESXi hosts reside.