You can configure DNS zones for your DNS service. A DNS zone is a distinct portion of the domain name space in DNS.

When you configure a DNS zone, you can specify a source IP for a DNS forwarder to use when forwarding DNS queries to an upstream DNS server. If you do not specify a source IP, the DNS query packet's source IP will be the DNS forwarder's listener IP. Specifying a source IP is needed if the listener IP is an internal address that is not reachable from the external upstream DNS server. To ensure that the DNS response packets are routed back to the forwarder, a dedicated source IP is needed. Alternatively, you can configure SNAT on the logical router to translate the listener IP to a public IP. In this case, you do not need to specify a source IP.

Procedure

  1. From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Select Networking > IP Management > DNS.
  3. Click the DNS Zones tab.
  4. To add a default zone, select Add DNS Zone > Add Default Zone
    1. Enter a name and optionally a description.
    2. Enter the IP address of up to three DNS servers.
    3. (Optional) Enter an IP address in the Source IP field.
  5. To add an FQDN zone, select Add DNS Zone > Add FQDN Zone
    1. Enter a name and optionally a description.
    2. Enter a FQDN for the domain.
    3. Enter the IP address of up to three DNS servers.
    4. (Optional) Enter an IP address in the Source IP field.
  6. Click Save.