G
Guest
I'm not having any problems with this, but have noticed many sites that offer
the following tip for DNS cache:
-----------------------------------------------------------------------------
Flush DNS
First of all it would be a good idea to flush the local DNS cache so we are
starting with a clean sheet!
To do this simply enter: ipconfig /flushdns in a command prompt. You will
then get the following window appear confirming the flush,
[Ad: DNS Windows XP]
Successful DNS Flush
Now we have a clean DNS cache lets make the changes to the registry.
Block Negative Entries
To force Windows XP NOT to cache negative entries we need to add a new DWORD
to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\Dnscache\Parameters
DWORD: MaxNegativeCacheTtl
Value: 0
This will now ensure NO negative entries are stored.
Cache TTL
To force Windows XP to keep positive entries in DNS Cache for only 4 hours
instead of the default 24 hours we need to apply the following change to the
registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Dnscache\Parameters
DWORD: MaxCacheTtl
Value: 14400
NB - make sure you enter the 14400 (seconds) as Decimal Base and NOT
Hexadecimal Base!
Now your registry key should look similar to this
[Ad: DNS Windows xp]
the following tip for DNS cache:
-----------------------------------------------------------------------------
Flush DNS
First of all it would be a good idea to flush the local DNS cache so we are
starting with a clean sheet!
To do this simply enter: ipconfig /flushdns in a command prompt. You will
then get the following window appear confirming the flush,
[Ad: DNS Windows XP]
Successful DNS Flush
Now we have a clean DNS cache lets make the changes to the registry.
Block Negative Entries
To force Windows XP NOT to cache negative entries we need to add a new DWORD
to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\Dnscache\Parameters
DWORD: MaxNegativeCacheTtl
Value: 0
This will now ensure NO negative entries are stored.
Cache TTL
To force Windows XP to keep positive entries in DNS Cache for only 4 hours
instead of the default 24 hours we need to apply the following change to the
registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Dnscache\Parameters
DWORD: MaxCacheTtl
Value: 14400
NB - make sure you enter the 14400 (seconds) as Decimal Base and NOT
Hexadecimal Base!
Now your registry key should look similar to this
[Ad: DNS Windows xp]