Administrators may encounter the DNS error codeNXDOMAIN(Non-Existent Domain) when attempting to resolve Fully Qualified Domain Names (FQDNs) from Virtual Machines (VMs), ESXi hosts, or NSX management components.
NXDOMAIN is a response code sent by a DNS server signifying that the domain name queried does not exist in the authoritative zone. Unlike a timeout or connection refusal, an NXDOMAIN response proves that the DNS infrastructure is reachable and functioning, but the specific record is missing or the request is being routed to the wrong authority.
VMware NSX
VMware vSphere
VMware Kubernetes Services
The NXDOMAIN error is typically caused by one of the following:
Use nslookup or dig to confirm the specific error code and the server being queried.
Ensure the client's /etc/resolv.conf (Linux) or Network Adapter settings (Windows) include the correct search domains.
If the error originates from a workload using the NSX DNS Service:
Log in to the DNS server identified in Step 1 and verify the record exists in the Zone file.