How to disable client DNS caching in WinXP?

  
                  To stop the DNS cache, run one of the following commands in the Run window of the Start menu:
• net stop dnscache
-or-
• sc server name stop dnscache

Note: If By deactivating the DNS resolver cache, the overall performance of the client is degraded and the network traffic for DNS queries increases. The DNS client service optimizes the performance of DNS name resolution by storing previously resolved names in memory. If the DNS client service is turned off, the computer can still use the network's DNS server to resolve the DNS name.

view the DNS resolver cache, type ipconfig /displaydns
remove the DNS resolver cache At the command prompt, type ipconfig /flushdns

at a command prompt using the registry Control the cache time
Please perform the following steps:
1. Start the Registry Editor (Regedit.exe).
2, find and click in the registry:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters
3, on the "Edit" menu, point to "New", click " DWORD value", then add the following registry value:
Value name: MaxCacheTtl
Data Type: REG_DWORD
Default: 86400 seconds
Value data: If you will maximize the TTL in the client's DNS cache The value is reduced to 1 second and the client DNS cache appears to have been disabled.
Value Name: MaxNegativeCacheTtl
Data Type: REG_DWORD
Default: 900 seconds
Value data: If you do not want to cache a negative response, set the value to 0.
4. Type the value you want to use and click OK.
5, exit the registry editor.
Copyright © Windows knowledge All Rights Reserved