Configuring a DNS relay
A DNS relay is an intermediary device that clients send DNS queries to. This intermediary device then forwards the request to upstream DNS servers. Once a response is received, the intermediary device will send the same response back to the original client and cache the response in the event of other clients requiring the same DNS resolution. In the case of the NSX Edge, it acts as the intermediary device and can resolve DNS queries for clients if the clients have IP reachability to the ESG and are configured to use it as a DNS server.
Getting ready
To configure the ESG for DNS relay, the following prerequisites must be met:
- User with NSX Enterprise Administrator or NSX Administrator role
- Newly-deployed NSX Edge to configure DNS relay on; we will use a pre-created edge named
Chapter5
for this recipe - ESXi cluster where the the NSX Edge will be deployed to; it must be prepared for NSX
- Target ESXi hosts must have sufficient capacity to run the ESG virtual machine