In windows - once you have visited a website once the actual DNS request is being sent to the local DNS cache. If the entry is listed there, Windows uses the entry and does not make the request to the DNS server. After the entry has timed out (based on its Time to Live, or TTL value), it is cleared from the local DNS cache. The next attempt sends the request to the DNS server.

To view the DNS cache, type ipconfig /displaydns at a command prompt.

To delete the entries in the DNS cache, type ipconfig /flushdns at a command prompt.


To Disable Client-Side DNS Caching
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. We cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

1. Start Registry Editor (Regedit.exe).
2. Locate the MaxCacheEntryTtlLimit value under the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
3. On the Edit menu, click Modify. Type 1, and then click OK.
4. Quit Registry Editor.
Note that this setting does not really disable the client-side DNS cache. Instead, it lowers the Maximum TTL value within the client's DNS cache to one second. This gives the appearance that the client-side DNS cache has been disabled. Each sequential ping results in a DNS query to the DNS server.


THIS INFORMATION IS PROVIDED WITHOUT WARRANTY. USE AT YOUR OWN RISK.

Was this answer helpful? 0 Users Found This Useful (0 Votes)