Clearing Windows DNS Resolver Cache
Occasionally, my cable modem from Time Warner decides it doesn’t wanna work. Actually, it happens a few times a day and I have to recycle the modem (unplug power, wait 30 seconds, plug back in) for it to find the connection again. It drives me insane because it likes to drop the connection exactly when I’m gonna do something mildly important. I’ve called TWC about getting another modem, but I gotta answer all these stupid questions from the support guys who pretend it’s my router or my fault somehow, and I’m just too lazy to drive across town to pick up another one. It wouldn’t be super bad, but once I’m back online, I can’t connect to any sites that I attempted to go to while the connection was down because Windows XP keeps bad responses from websites in the DNS Resolver Cache for 5 minutes. So here’s a fix for anyone else experiencing the same problems.
Open a command prompt by clicking the “Start” button, then click “Run…“. In the command prompt, type this:
ipconfig /flushdns
and press Enter. That’s all there is to it. If you don’t like the command prompt, you can go to Start->Settings->Control Panel->Administrative Tools->Services then click DNS Client and restart it.
I googled DNS Cache after writing this post and found this page that has more information, along with a Registry Tweak to keep WinXP from caching negative responses: DNS Resolver Cache By Vic Laurie
on June 10th, 2005 at 6:34 pm
Your entries are so geeky.
When I flush the DNS I will always remember this quote from Brady:
“I just did a nerdy thing.”
on June 13th, 2005 at 6:45 am
I love IPconfigAll mmmm and I also love the old Dos Prompt Fdisk..sigh those were the days.
on April 19th, 2006 at 4:50 am
Still not working
on January 12th, 2007 at 9:03 pm
Okay well try this it worked for me Microsoft Windows XP - Ipconfig
To flush the DNS resolver cache when troubleshooting DNS name resolution problems, type: ipconfig /flushdns. To display the DHCP class ID for all adapters with names that start with Local , type:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ipconfig.mspx?mfr=true