PC Review


Reply
Thread Tools Rate Thread

Disable Local DNS Caching?

 
 
connah@gmail.com
Guest
Posts: n/a
 
      1st Sep 2006
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

 
Reply With Quote
 
 
 
 
Kevin D. Goodknecht Sr. [MVP]
Guest
Posts: n/a
 
      1st Sep 2006
(E-Mail Removed) wrote:
> 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
===================================


 
Reply With Quote
 
Kurt
Guest
Posts: n/a
 
      2nd Sep 2006

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

....kurt

"Kevin D. Goodknecht Sr. [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> (E-Mail Removed) wrote:
>> 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
> ===================================
>
>



 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      2nd Sep 2006
"Kurt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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]

"Kurt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Great piece of information. I'll be pasting that into my personal
> knowledge base!
>
> ...kurt
>
> "Kevin D. Goodknecht Sr. [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> (E-Mail Removed) wrote:
>>> 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
>> ===================================
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad Microsoft ASP .NET 3 21st Jan 2010 10:13 AM
Disable caching Mantorok Microsoft ASP .NET 2 15th Aug 2006 12:41 PM
How to disable caching often used DLL's Konstantin Levinsky Windows XP Customization 3 3rd Apr 2006 09:36 AM
disable caching? steve Windows XP Performance 2 17th Jan 2004 07:44 AM
disable caching Kris Microsoft Windows 2000 1 11th Jul 2003 02:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:44 AM.