Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Networking
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery registry cleaner router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Networking >
Solved: Flushing the DNS cache - ipconfig /flushdns question

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
tjamnz's Avatar
Computer Specs
Senior Member with 756 posts.
 
Join Date: Jun 2004
Location: Seattle
26-Jan-2007, 02:15 AM #1
Solved: Flushing the DNS cache - ipconfig /flushdns question
Hello, I was wondering when to flush the DNS cache or why it may be necessary to do so?

I found documentation that states: XP remembers negative (DNS unable to resolve) entries for a few minutes, and that as long as a negative entry sits there, you will continue to get a cannot find server error.

The reason im asking... is becuase it is my understanding that as long as you type in (example) www.google.com... my pc will attempt to resolve that url to an ip address by contacting my isp's DNS server. And if my isp's dns server is down it wont be able to resolve the url, so therefore I wont have a cached ip address for google.com, nor will my pc be able to resolve until my isp's dsn servers are back online. hence... the "page cannot be found error"

At this point Im not sure what a "negative entry" might be, how a negative entry is created, and why i really would ever need to flush my dns cache anyways? (im assumming my browser will try to resolve this until its successful every time i type the url into my address bar and hit "enter")

I do realize that I can bypass dns if I directly type an ip address into my address bar, which i suppose could come in handy. I remember one ocassion when my comcast dns servers were down for a few hours... but i could surf by manually typing in ip's. I just happened to have a few written down at the time.

DNS is interesting.

thanks for any info on flushdns command

Last edited by tjamnz : 26-Jan-2007 04:22 PM.
TheDude5555's Avatar
Senior Member with 111 posts.
 
Join Date: Aug 2006
Experience: Advanced
26-Jan-2007, 10:51 PM #2
A negative entry in your DNS cache would actually not be the result of not being able to contact your DNS server. Rather it would be the result of your DNS server not being able to resolve your query and returning an negative result to your computer. For example if you were to send a query to your dns server for the host name "doesnotexist.nodomain.com" which didnt exist, then moments later you added an A record for that host to your zone. It is possible that you may still not be able to find it because your computer could be caching a negative result. It could be this situation where flushing your local dns cache might be usefull.
__________________
TheDude's advice is not supported under any standard support program or service. The advice is provided AS IS without warranty, or implied warranty of any kind. The entire risk arising out of the use of TheDude's advice remains with you. In no event shall TheDude be liable for any damages whatsoever arising out of the use of or inability to use the advice, even if TheDude has been advised of the possibility of such damages.
tjamnz's Avatar
Computer Specs
Senior Member with 756 posts.
 
Join Date: Jun 2004
Location: Seattle
27-Jan-2007, 01:18 AM #3
This makes sense, but since when can a dns server in general not resove a query? And even if it cant, Its DNS job to find another DNS server that can resolve, if it doesnt know the answer. Must be a rare error indeed.

thanks
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:31 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.