Clear your local DNS cache

Sometimes when you repair your local area connection from the local area connection status window, you find out that your DNS cache could not be cleared and whatever you do, the cache will not clear up. So here’s the cool way of doing it..
Open your command prompt and type the following command:
C:\>net stop dnscache
If it says that the dnscache is not started then type the following command:
C:\>net start dnscache
It will start your local dns cache. Now try flushing your dns cache by issuing the following command:
C:\>ipconfig /flushdns
It will most probably clear your dns cache and display the results for you.
If you want to see what is in your local dns cache at this time, issue this command to find out:
C:\>ipconfig /displaydns
This can also be done as:

  • Go to run and type services.msc
  • select DNS Client, select automatic from drop down menu and start the service.

Did this article solve your problem? If not then tell us your particular case. Let’s see if we can get into the root of your problem..
Clear DNS Cache in Linux


Posted

in

by

Comments

9 responses to “Clear your local DNS cache”

  1. Sista

    What is a DNS cache and how does it afect your computer? Is it good or bad?

  2. Sista

    What is a DNS cache and how does it affect your computer? Is it good or bad?

  3. prasath

    if type http://www.google.com what will happen from client pc

  4. prasath

    what is the cache ?,what is use of this command ?

  5. anxiety attcks

    mate
    my prob is after clearing the dns cache also,website is not loading for me
    whats the reason?

  6. Reid Byer

    I have tried both of these methods and I am still unable to access the website from my windows 7 computer with any browser. I typed C:>ipconfig /displaydns in the command line and no results were didplayed so I guess the DNS cash has been cleared. Do you have any other suggestions.
    I have no problem accessing the website from my XP machine.

    1. Sanix

      @Reid Byer
      You will need to run the command prompt as administrator. To run command prompt as administrator, see the following article:
      http://www.technize.com/the-requested-operation-requires-elevation/

  7. Rueben Gaglia

    This is a very interesting post, I was looking for this information. Just so you know I found your webpage when I was checking for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.