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

9 thoughts on “Clear your local DNS cache”

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

  2. 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.

  3. 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.

Comments are closed.