1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Flushing the DNS cache - ipconfig /flushdns question

Discussion in 'Networking' started by tjamnz, Jan 26, 2007.

Thread Status:
Not open for further replies.
  1. tjamnz

    tjamnz Thread Starter

    Joined:
    Jun 15, 2004
    Messages:
    774
    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
     
  2. TheDude5555

    TheDude5555

    Joined:
    Aug 25, 2006
    Messages:
    125
    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.
     
  3. tjamnz

    tjamnz Thread Starter

    Joined:
    Jun 15, 2004
    Messages:
    774
    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
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/538483

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice