Flushing your DNS

We all have had that one time when your computer refuses to go to a site, or you can’t connect to something or a network. This is a result of a bad IP address or some other DNS result being cached in your system.

What is DNS caching

At it’s basic, DNS cache is simply how your computer remembers sites or networked locations and devices you’ve visited or networks you’ve connected to. It basically keeps the address that matches the URL of a site you visited for example.

How to flush

Flushing your DNS cache basically clears out all entries from your system and allows new entries to be made so that things flow smoothly. So here is how to do it on different systems.


Depending on the version of Windows you are using, the process to bring up a Command Prompt will be different but that is what you need. Basically you will want to do the following:

  • For XP – Click Start -> In the Run box type cmd.exe and press Enter
  • For 7 – Click Start -> All Programs -> Accessories -> right click on Command Prompt and click Run as Administrator
  • Win8 and up – Simply type cmd which will bring up the search results to the right of your screen -> right click on Command Prompt and click on Run as Administrator
  • Type ipconfig /flushdns and press Enter


  • Open a command terminal and run the following:
    • 10.8 Mountain Lionsudo killall -HUP mDNSResponder then
    • 10.9 Mavericks and up – dscacheutil -flushcache then sudo killall -HUP mDNSResponder


Open a terminal and run the following sudo dscacheutil -flushcache


Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s