By default, XP caches negative entries for five minutes. Negative entries are those in which
no match was found, and you end up getting a "Cannot find server or DNS" error in your
browser.After five minutes, they're cleared from your cache. But if you'd like, you can force
XP not to cache these negative entries so that you'll never run into this problem. Run the
registry Editor and go to the following key: HKEY_LOCAL_MACHINE\ SYSTEM
\CurrentControlSet\Services\Dnscache\Parameters. Create a new DWORD value with the
name NegativeCacheTime and give it a value of 0. The DWORD determines how much time,
in seconds, to keep negative entries in the DNS cache. If you like, you can have the entries
stay alive for one second by giving the DWORD a value of 1.After you're done editing, exit
the registry. To make the change take effect, restart your computer, or flush your cache by
issuing the command ipconfig /flushdns at a command prompt.
You can also use the registry to control the amount of time positive entries are kept in the
DNS cache. By default, they are kept for 24 hours. To change the default, go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameter again
and create a DWORD value called MaxCacheEntryTtlLimit. (If it's already present, just
edit the value.) For the value, enter the amount of time you want the entry to remain, in
seconds, making sure to use Decimal as the base
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
Post Your Comments Below: