How to clear / flush DNS cache

Posted in: Windows 7 No Comments

All DNS request are cached on our computer. The DNS cache includes IP address / location of websites and their name resolution.

If any site has recently changed its IP or nameserver address, you may not be able to open that site. Sometimes, newly registered domains are also not accessible.

In such cases you need to clear / flush DNS cache stored on your computer.

On Windows computer (XP / Vista / windows 7 / windows 8 etc)

  • Click Start button and then type cmd in the Start Search box. In the search results list, click Command Prompt / cmd.
  • In command prompt type following command and press enter key.
    ipconfig /flushdns
  • DNS cache on your computer will be cleared.
    Windows will show you following success message.
    Windows IP Configuration

    Successfully flushed the DNS Resolver Cache.

On MacOS

  • Go to Applications >> Utilities >> Terminal
  • Type following command and press Enter / Return key.
    dscacheutil -flushcache

About the Author

Name: Ravi Shekhar
Nothing much about me. I just love playing with gadgets and windows.

Leave a Reply

Your email address will not be published. Required fields are marked *