From the computer of: davak
(394 recipes)
Created: Nov 27, 2003 Updated: Feb 06, 2007
XP remembers negative (DNS unable to resolve) entries for a few minutes. Often this can be a pain when moving and debugging sites. As long as that negative entry sits in your DNS cache, your box will continue to give you a cannot find server error. By cleaning out your DNS cache, you can fix this problem.
Rebooting will flush your cache... but there is an easier way.
Drop to a command box and type:
Vista requires special directions for flushing the vista dns cache.
If you wish to stop XP from placing negative entries into cache, you can make this change in your registry.
1. Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Dnscache\Parameters
2. Build a new DWORD value called NegativeCacheTime and give it a value of 0
I believe the default time is 5 minutes. I always use zero for my default time, but I think the value above is in seconds. So if you only want to save them for 1 minute, then I am assuming you would change that value to 60.
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
Vista DNS Cache: Flush, Clear, or Reset
Thumbs.db: Prevent Windows from Creating the Thumbnail Cache
IE: User Can No Longer View Source in Internet Explorer
Repair Network Connection in Windows XP
WMP 10: Clear Recent History and File List in Windows Media Player
Vista: How to Clear Reports from Parental Controls
Clear Page File At Reboot or Shutdown
XP and Vista: Display entries in Windows DNS cache
IE6: Images Will Save Only as a Bitmap (*.bmp)
Download DRM-free Files or Remove DRM From iTMS / iTunes
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
Make XP look like Windows Vista / Longhorn for free!
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
SMS through E-Mail: Cingular, Nextel, Sprint, T-Mobile, Verizon, Virgin Mobile
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
MySpace Hack: View Pictures and Comments on a Private Profile
How Do I Use or Open Bin, Cue, or ISO Files?
Hacks to Beat Rapidshare Download Limits and Waiting Time
MySpace: Hack to Download Any Song on MySpace
Who's Online
There are currently, 2103 guest(s) and 2 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.81 Seconds
Thu Aug 21 17:11:02 2008