DNS Tip

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]
 
R

Robert Moir

Victor said:
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,

Flushing the DNS cache is a good idea if you're encountering problems with
name resolution.
Do these tips really have any noticeable effect? Thanks.

The rest of it (snipped it out here for brevity) is a complete waste of
everyone's time, except *possibly* in a very few contrived situations.

Rob Moir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top