Windows Server: DNS Resolution is Delayed or Fails in Active Directory Domain due to Improper Configuration of Forwarders
Summary: If forwarders are improperly configured on DNS servers in an Active Directory domain, name resolution may fail or take longer than expected. This typically affects resolution of external DNS names only. ...
Symptoms
External DNS name resolution fails outright or takes longer than expected. Internal name resolution may function without issues, as forwarders are not used for internal resolution.
Cause
Improper configuration of forwarders on DNS servers in a domain may cause delays or failures of external DNS resolution. Specifically, DNS servers within a domain, which are almost always domain controllers (DCs) for that domain, should not be configured to forward to one another. Only DNS servers outside the domain should be used as forwarders.
Good candidates for forwarders include the following:
- Well-known public DNS servers with easy-to-remember IP addresses (
1.1.1.1, 8.8.8.8, 9.9.9.9,and others) - DNS servers provided by your Internet Service Provider (ISP)
Other public DNS servers may provide good responses as well.
It is also possible to use root hints instead of forwarders for external name resolution. This article is only applicable if forwarders are in use.
Resolution
To address the issue, perform the following steps:
- On a DNS server, launch the DNS Manager console.
- In the left pane of the console, right-click the server and select Properties. It may be necessary to left-click the server before it can be right-clicked.
- Click the Forwarders tab and review the list of forwarders.
- If any internal DNS servers are in the list of forwarders, click the Edit button and delete every internal server from the list. Supply any additional forwarders that are needed.
- Click OK to close the Edit Forwarders window, then again to close the Properties window.
- Right-click the server and select Clear Cache. This is necessary to accurately evaluate the response time of external name resolution.
Repeat the above steps on all DNS servers in the domain. Forwarders are configured on a per-server basis and are not replicated between servers.
After performing these steps, use the nslookup command to test name resolution and confirm the response time.