Adjust Windows DNS timeout similar to the Linux resolv.conf?
Solution 1:
You can make the change by adding a registry key. Microsoft has instructions here: http://technet.microsoft.com/library/Cc977482
In case that link stops working, here's the summary:
Use regedit to add DNSQueryTimeouts
as a multi-string value to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
. Then add five values indicating the number of seconds that each time limit is applied to the corresponding attempt in the name resolution process. Add a sixth value of zero.
- Query the preferred DNS server on a preferred connection.
- Query the preferred DNS server on all connections.
- Query all DNS servers on all connections (1st attempt).
- Query all DNS servers on all connections (2nd attempt).
- Query all DNS servers on all connections (3rd attempt).
- Must be zero (to indicate the end of the list)
The default values are
1
2
2
4
8
0