DNS Client Timeouts with Multiple DNS Servers: How Windows Falls Back

How long does a Windows client wait before trying its second or third DNS server? 1 second, then 2, then all servers at 4 and 8 seconds, giving up at 10. A Name Error stops the search, and a 4th server waits at least 4 seconds.

Home › Guides › DNS client timeouts with multiple DNS servers

Last updated 21 November 2026

Quick answer

A Windows DNS client doesn't wait long for its first DNS server, but it only gives a few of them a fair chance. Per Microsoft (KB 2834226), it queries the first server, moves to the second after 1 second and the third after 2 seconds, queries all servers at once at 4 and 8 seconds, and gives up at 10 seconds. A Name Error (negative answer) from any server stops the process at once: the client only tries another server when the previous ones are unreachable, not when they say the name doesn't exist. So if the only working DNS server is in position 4 or lower in the list, expect at least 4 seconds of delay before it's asked, which can break applications with a shorter timeout. Put working servers in the first three positions, and make sure every listed server returns the same answers.

Default DNS client timeline

Microsoft's three cases, for a client with one, two, or three or more DNS servers on the network adapter (seconds since the first query):

TimeOne DNS serverTwo DNS serversThree or more DNS servers
0Query the serverQuery the first serverQuery the first server
1No answer: query the server againNo answer: query the second serverNo answer: query the second server
2No answer: query it againNo answer: query the second server againNo answer: query the third server
4No answer: query it againNo answer: query all servers at the same timeNo answer: query all servers at the same time
8No answer: query it againNo answer: query all servers at the same timeNo answer: query all servers again at the same time
10No answer: stop queryingNo answer: stop queryingNo answer: stop querying

With a single server the client queries the same server five times before it times out.

What the network trace looks like

Microsoft's example: client 10.0.0.31 with five DNS servers (10.0.0.1 to 10.0.0.5) querying for microsoft.com. Time offsets from the capture, shortened:

0.000  10.0.0.31 -> 10.0.0.1   Query for microsoft.com of type Host Addr
0.986  10.0.0.31 -> 10.0.0.2   Query for microsoft.com of type Host Addr
1.989  10.0.0.31 -> 10.0.0.3   Query for microsoft.com of type Host Addr
3.986  10.0.0.31 -> 10.0.0.1, .2, .3, .4 and .5 (same query to all five)
7.995  10.0.0.31 -> 10.0.0.1, .2, .3, .4 and .5 (same query to all five)

10.0.0.4 and 10.0.0.5 are first asked after about 4 seconds. In the two-server example the client asks 10.0.0.1 at 0 seconds, 10.0.0.2 at 1 and 2 seconds, and both at 4 and 8 seconds. All queries use the same query ID.

Name Error stops the search

Any Name Error response from any of the DNS servers ends the process. The client doesn't retry with the next server if the response was negative; it tries new servers only if the previous ones are unreachable. With a single server, a negative answer also means no retry. So every DNS server you list should be able to answer for the same names: a server that answers Name Error ends the lookup, even if another server further down the list has the record.

Why the fourth server is too late

If the only reachable server is in position 4 or higher, there is an expected delay of at least 4 seconds after the original query before the client tries it. That can cause issues if the application that asked for the resolution has its own timeout lower than this. Microsoft says the only way to have that server queried earlier is to put it in the first three positions. Check the order with ipconfig /all. To change it, Microsoft's forwarder troubleshooting article sets the client's DNS servers with:

Set-DnsClientServerAddress -InterfaceAlias "Interface-Name" -ServerAddresses ("IP1")

List the servers in the order you want them asked.

Why configure more than one DNS server at all

Microsoft recommends configuring every Windows client with more than one DNS server. Several server IPs keep names resolving if the only DNS server, its network link or the network between client and server fails; without that, name failures can make applications and components hang while they wait for timeouts. Just keep the timeline above in mind when you choose how many to list and in what order.

Exceptions Microsoft mentions

DNS servers have a similar fallback for their own forwarders, with server-side timeouts: with defaults only the first three forwarders or two conditional forwarders are used. See DNS forwarders and conditional forwarders failing.

Related tools and guides

Look up DNS Server events such as 4013 in the Windows Event ID Lookup, copy the Set-DnsClientServerAddress and ipconfig /all lines from the PowerShell Cheat Sheet, pull query times out of exported DNS client captures with the Regex Tester, check that each DNS server address is reachable from the client subnet with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the vendor of a device answering on a DNS server address with the MAC Vendor Lookup. Related guides: DNS forwarders and conditional forwarders failing, DNS Server event 4013, DNS zone transfer fails with the Name Servers tab setting and common Windows DNS Server and DHCP Server errors.

Choosing the preferred and alternate DNS servers for a domain controller? See domain controller DNS client settings.

Only some names or clients time out on a Windows Server 2016 or later DNS server? Check for IGNORE policies; see DNS policy query filters.

Every Windows DNS Server and DHCP Server event and symptom in one place: common Windows DNS Server and DHCP Server errors.

FAQ

How long does a Windows client wait before trying the second DNS server?

1 second. If the first server doesn't answer within 1 second, the client queries the second server in the list.

When does a Windows DNS client give up?

After 10 seconds. It queries all servers at the same time at 4 and 8 seconds, and stops if there is still no answer 2 seconds later.

Does a Windows client try the next DNS server after a Name Error?

No. Any Name Error response from any server stops the process. The client tries new servers only if the previous ones are unreachable.

Why is my fourth DNS server only used after a delay?

The client asks the first three servers one by one and only queries all servers at 4 seconds. If the only reachable server is in position 4 or higher, expect at least 4 seconds of delay, so put working servers in the first three positions.

How many times does a client query a single DNS server?

Five times, at 0, 1, 2, 4 and 8 seconds, before it times out at 10 seconds.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.