Disable Local DNS Caching?

  • Thread starter Thread starter connah
  • Start date Start date
C

connah

Hi all!

I would like to know how to permanently disable DNS caching on a
Windows 2000 machine. I would like it to be a perpetual "ipconfig
/flushdns" essentially. Every name to number resolution should contact
the DNS server. Any thoughts? Thank you!

Matthew Connor
 
Hi all!

I would like to know how to permanently disable DNS caching on a
Windows 2000 machine. I would like it to be a perpetual "ipconfig
/flushdns" essentially. Every name to number resolution should contact
the DNS server. Any thoughts? Thank you!

Two ways:
1. Stop and disable the DNS client service.
2. Add this to the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNSCache\Parameters
Value name: MaxCacheTtl
Data type: REG_DWORD
Default value: 86400 seconds
Value data: If you lower the Maximum TTL value in the client's DNS cache to
1 second, this gives the appearance that the client-side DNS cache has been
disabled.

Value name: MaxNegativeCacheTtl
Data type: REG_DWORD
Default: 900 seconds
Value data: Set the value to 0 if you do not want negative responses to be
cached.

How to Disable Client-Side DNS Caching in Windows XP and Windows Server
2003:
http://support.microsoft.com/kb/318803/en-us

--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
http://support.wftx.us/
http://message.wftx.us/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
 
Great piece of information. I'll be pasting that into my personal knowledge
base!

....kurt
 
Kurt said:
Great piece of information. I'll be pasting that into my personal
knowledge base!

I pretty much always disable the DNS Client Service
on DNS servers which point to themselves.

Doing otherwise is wasteful of CPU, Memory, and actually
slows down resolution slightly for the DNS service.

--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
 
Back
Top