Windows DNS server not resolving names through forwarders or conditional forwarders? Check forwarders, root hints and UDP 53, read the capture for Server failure, Refused or Name error, and see why only 3 forwarders get tried.
Home › Guides › DNS forwarders failing
Last updated 21 November 2026
When a Windows DNS server can't resolve names that it hands to forwarders, conditional forwarders or root hints, first find out where it breaks: test from the client, then from the DNS server itself. Check that the server actually has a conditional forwarder (Get-DnsServerZone -Name <domainname>), forwarders (Get-DnsServerForwarder) or root hints (Get-DnsServerRootHint) for the name, that the DNS Server service runs on both ends and that UDP port 53 is open between them. Then take a network capture on the client, the DNS server and the forwarder. Microsoft describes three typical results: the forwarder doesn't answer in time (the client gets Server failure), the forwarder answers Refused because of a query resolution policy (the client also gets Server failure), or the forwarder answers Name error because the record is missing. With default timeouts a Windows DNS server only reaches the first three forwarders or the first two conditional forwarders before RecursionTimeout ends the attempt.
| What the capture shows | Cause Microsoft gives | What to do |
|---|---|---|
| No answer from the first forwarder, then none from the next; client gets Server failure | Network latency or intermediate network issues; the response doesn't arrive within the forwarder timeout | Fix the latency with the network team; if it's expected, raise ForwarderTimeout and RecursionTimeout |
| Forwarder answers Refused; client gets Server failure; second forwarder not tried | A policy on the forwarder refuses or denies queries for the record or zone | On a Windows forwarder, check Get-DnsServerQueryResolutionPolicy and remove unwanted policies; on a third-party server, contact the vendor |
| Forwarder answers Name error; only certain names in the domain fail | The record (for example a host A record) isn't on the forwarder | Register the missing record on the forwarder, statically or dynamically |
| Third-party conditional forwarder: works at first, then nonexistent domain until you clear the cache | The forwarder answers the AAAA query with Server failure instead of a correct empty answer, which also creates a negative cache entry for the A record | Contact the vendor; a recursion policy that denies AAAA queries might mitigate it |
Run ipconfig /all on the client and confirm the correct DNS server IP is configured. If it isn't, set it with Microsoft's command:
Set-DnsClientServerAddress -InterfaceAlias "Interface-Name" -ServerAddresses ("IP1")
Make sure UDP port 53 communication between the client and the DNS server is allowed, and ping from the client to the DNS server and back to confirm basic connectivity.
Check whether the server is set up to resolve names that aren't local to it, in this order:
Get-DnsServerZone -Name <domainname> Get-DnsServerForwarder Get-DnsServerRootHint
The first shows whether a conditional forwarder exists for the domain. If there is none, the second lists general forwarders; Microsoft says to verify that Useroothints is set to TRUE. If no forwarders are configured, the third lists root hints. If none of the three is configured, name resolution is expected to fail: create a conditional forwarder for an internal domain, or (preferably) a forwarder for external domains. The forwarders themselves need to have the records or be able to resolve the name.
The DNS Server service must run on both the forwarding server and the forwarders:
Get-Service -Name DNS Start-Service -Name DNS
UDP port 53 must also be allowed between the forwarding DNS server and its forwarders.
Clear the client cache first with ipconfig /flushdns. Then start a capture tool such as Wireshark on the client, the DNS server and the forwarder, run nslookup <name> on the client to reproduce the failure, stop the captures and filter for UDP port 53. Microsoft's scenarios use conditional forwarders, but the steps are the same for standard forwarders.
The server forwards the query to the first forwarder, the answer doesn't arrive within the timeout, it tries the next forwarder, that answer doesn't arrive either, and the client gets Server failure. Work with the network team on the latency. If the latency is expected, give the DNS server more time by increasing ForwarderTimeout and RecursionTimeout (see the timeouts below).
A policy on the conditional forwarder refuses or denies queries for a record or zone, so it answers Refused. The forwarding server passes this to the client as a server failure and doesn't contact the second conditional forwarder, because it already got a response, even an error. On a Windows forwarder list the policies with Get-DnsServerQueryResolutionPolicy and remove any that shouldn't be there.
The forwarder has no host A record for the name in the zone and answers Name error, which goes back to the client unchanged. Again the second forwarder isn't tried. Typically only certain names in the domain fail. Register the missing records on the forwarder.
Two timeouts control the fallback (Microsoft KB 2834250). Defaults are for Windows Server 2012 through Windows Server 2022:
HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters\RecursionTimeout, set with dnscmd /config /RecursionTimeout <value>, shown by Get-DnsServerRecursion.HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters\ForwardingTimeout, set with dnscmd /config /ForwardingTimeout <value>, shown by Get-DnsServerForwarder.HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones\<zone_name>\ForwarderTimeout; it's the value shown in the Conditional Forwarders GUI.The server sends the query to the first forwarder at once and moves to the next one after the timeout, then after timeout + 1 second for each further forwarder (plus a possible extra half-second delay from system overhead). When RecursionTimeout has passed, it answers the client with Server failure, but only when it would have been time to try the next forwarder. With defaults that means forwarders are queried at 0, 3.5 and 7.5 seconds, and the fourth (11.5 seconds) is never reached; conditional forwarders are queried at 0 and 5.5 seconds, and the third is never reached. In both cases the client gets Server failure after about 11.5 seconds. If all forwarders are contacted before RecursionTimeout without an answer, the server tries root hints (unless recursion is disabled). Tune these values if you list three or more forwarders or conditional forwarders.
Microsoft describes this for Windows Server 2016 with a third-party DNS server as conditional forwarder. The first lookup (for example nbob1.contoso.com) works; after some time resolution stops and nslookup returns a nonexistent domain error. Clearing the DNS server cache on the forwarding server helps only temporarily.
The client query becomes an A query and an AAAA query. The forwarder answers the A query correctly. For the AAAA query a correct answer is Success with no answer records and the zone's SOA record in the authority section. The faulty forwarder instead returns Server failure with no authority record. That poisons the forwarding server's cache with a negative entry for the host A record too, so A lookups for the name stop working. RFC 2308 section 3 requires the SOA record in NXDOMAIN and no-data responses so they can be cached.
Contact the vendor of the third-party DNS server. On the Windows DNS server, Microsoft's recursion policy might mitigate the issue:
Add-DnsServerQueryResolutionPolicy -Name "BlockRecursionOfAAAA" -ApplyOnRecursion -Action Deny -QType "EQ,AAAA"
Download the TroubleShootingScript toolset (TSS) and run .\TSS.ps1 -Scenario NET_DNSsrv on DNS servers or .\TSS.ps1 -Scenario NET_DNScli on DNS clients. Clients that wait too long before trying their second DNS server are covered in DNS client timeouts with multiple DNS servers.
Look up DNS Server events such as 7062 in the Windows Event ID Lookup, copy the Get-DnsServerForwarder, Get-DnsServerRootHint and Get-DnsServerQueryResolutionPolicy lines from the PowerShell Cheat Sheet, pull Server failure and Refused responses out of exported DNS captures with the Regex Tester, check which subnets your forwarders and conditional forwarders are in with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the vendor of a network device in the path to a forwarder with the MAC Vendor Lookup. Related guides: DNS client timeouts with multiple DNS servers, DNS Server event 7062, DNS zone transfer fails with the Name Servers tab setting and common Windows DNS Server and DHCP Server errors.
No forwarders and Internet names still fail, or only some domains? See DNS server cannot resolve Internet names.
A scan flagged DNS cache snooping and you plan to disable recursion? That also disables forwarders; see DNS server cache snooping.
Every Windows DNS Server and DHCP Server event and symptom in one place: common Windows DNS Server and DHCP Server errors.
Microsoft's scenarios: the forwarders don't answer within the timeout because of latency or network issues, or a forwarder answers Refused because a query resolution policy denies the query. In both cases the client gets Server failure.
If the first forwarder sends any response, even Refused or Name error, the forwarding server passes it on and doesn't contact the next forwarder. Other forwarders are only tried when the previous one doesn't answer in time.
With default settings at most three forwarders (queried at 0, 3.5 and 7.5 seconds) or two conditional forwarders (0 and 5.5 seconds), because RecursionTimeout is 8 seconds. The client gets Server failure after about 11.5 seconds.
RecursionTimeout 8 seconds and ForwardingTimeout 3 seconds, both server-wide, and ForwarderTimeout 5 seconds per conditional forwarder zone, in Windows Server 2012 through Windows Server 2022.
Microsoft describes a forwarder that answers AAAA queries with Server failure instead of an empty answer with the SOA record. That creates a negative cache entry for the A record too. Contact the vendor; a recursion policy that denies AAAA might mitigate it.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.