Configure DNS forwarders on Microsoft Windows Server 2008 R2 and 2016

Before you begin

  • Note the IP addresses of the ETP recursive DNS servers. For more information, see View DNS server information.
  • Confirm that you have a root hints file configured. The root hints file contains the list of root DNS servers that Active Directory contacts for recursion.

Complete these procedures to configure DNS forwarding on the Microsoft Windows Server 2008 R2 and 2016. You can configure DNS forwarding with the Windows Server graphical user interface or the command line.

Graphical user interface

How to

  1. Click Start and then Administrative Tools. Click DNS
  2. Right-click the DNS server that you want to configure as a forwarder.
  3. In the Action menu, select Properties.
  4. Click the Forwarders tab.
  5. Click Edit.
  6. In the Edit Forwarders dialog, enter the primary IP address of the ETP recursive DNS server and press Enter.
  7. Enter the secondary IP address of the ETP recursive DNS server and press Enter.
  8. If other servers are listed as forwarders, delete this information. The primary and secondary recursive DNS servers should be the only forwarders listed.
  9. To change the number of seconds that a DNS server waits for a response before it tries the IP address of the other DNS server, enter a new value in the Number of seconds before forward queries times out field.
  10. Click OK.
  11. Enable the Use roots hints if no forwarders are available option. This option ensures that DNS servers in a root hints file resolve the name locally.
  12. In the properties dialog, click OK.

Command line interface

How to

  1. Open a command prompt. Run the command prompt as an administrator.
  2. Type this command and press Enter:
    dnscmd <ServerName> /ResetForwarders <PrimaryIPaddress ...> [/TimeOut <Time>] /noslave
    • <ServerName> is the hostname or IP address of the DNS server. To specify the DNS on your local computer, you can type (.)
    • <PrimaryIPaddress ...> is one or more IP addresses of the DNS servers where you are forwarding queries. In this case, enter the ETP server IP addresses. Separate each IP address with a space.
    • <Time> is the value that you want to configure for the time out setting in seconds. The default time out value is five seconds.

    For more information, see Microsoft documentation.

    Note: The /noslave parameter indicates that the server will use the root hints file to resolve requests locally if it cannot reach ETP.