JSI Tip 6656. Your Windows XP DNS client service does NOT always use the first server in the list?

Jerold Schulman

May 4, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

The Dnscache uses an algorithm to decide what order it uses the DNS servers that are configured in TCP/IP Properties. The Windows XP DNS client service resets the server priorities every 15 minutes.

To force Dnscache to try the first server in the list for each query:

1. Copy / Paste the following to a ServerPriorityTimeLimit.reg file:

REGEDIT4

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDnscacheParameters]
"ServerPriorityTimeLimit"=dword:00000000

2. Merge the ServerPriorityTimeLimit.reg file with your registry, or run regedit /s ServerPriorityTimeLimit.reg.

3. Shutdown and restart Windows XP.

NOTE: The default data value of the ServerPriorityTimeLimit Value Name is 900 seconds. When you set the data value to zero, the server priorities are reset to 'first in list' prior to each query.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like