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
Dns.GetHostEntry not working the same as Dns.Resolve or Dns.GetHos QSIDeveloper Microsoft Dot NET 5 28th Aug 2008 12:23 PM
DNS Resolver Uses Local DNS Server rather than VPN Provided DNS Servers GeekMarine1972 Windows XP Networking 8 12th Oct 2005 05:22 PM
local DNS vs external DNS Jon Windows XP Networking 2 4th Mar 2004 10:39 PM
The DNS server could not find or open zone file dns\cache.dns?????????? Bob Doyle Microsoft Windows 2000 DNS 3 27th Sep 2003 12:07 AM
DNS/Registry Problems - (same as parent folder)- error: No DNS server configured for local system Ryan Microsoft Windows 2000 DNS 0 22nd Aug 2003 09:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 AM.