The query is basically about how to make the ESXi hosts connect to the DNS server that is in different network.
Scenario: The infrastructure has Management and production networks. We, as support provider, manage only management network and customer owns production network. The AD/DNS servers are in Production network. At ESXi level, hosts connect only to the management network.
Would like to know what are the best ways for the ESXi hosts to reach DNS servers for correct name resolution (will NAT work fine?).
Just in case this helps someone. There are multiple options.
1. Use management network's (i.e. service provider) DNS servers
2. Use client's network for ESXi management based on client's security policies and VMware infra setup
If talking about ESXi name resolution (not guest OS name resolution), if your DNS servers are on different network, just configure the default gateway on ESXi hosts and allow DNS traffic (TCP/UDP port 53) between ESXi hosts and DNS servers.