How to clear your dns cache

You have told me to "clear my dns cache" on my computer. What does this mean?

There has probably been some change to your domain name records and you are looking at an old version of your site or it looks like your domain is not working or your ISP is serving you some old dns records.

This may occur in the following situations:

1. When a web site is moved from one server to another
2. If your domain name has expired and has just been renewed
3. Your ISP is caching pages to save money.
4. Your browser caches a copy of the old server ip

The internet is a complex array of networked servers all interconnected to each other, each one holding different types of information about addresses on the internet. Sometimes when a change is made on a dns server, the change is not filtered down to your local computer automatically, so the effect is that your computer looks in the wrong place resulting in confusion.

You might see a page like this for example which offers a basic explanation of the issue and if you see this page then for sure you need to either clear your dns cache or browser cache or you might simply get a page not found error. 




To clear your dns cache on a Windows® 8 machine

1. Press Win+X to open the WinX Menu.
2. Right-click on Command Prompt and select Run as Administrator.
3. Enter the following command: ipconfig /flushdns
4. If the command was successful, you will see the following message: Windows IP configuration successfully flushed the DNS Resolver Cache.

If the cache is not cleared then you may need to clear your browser cache instead or even restart your computer.


To clear your dns cache on a windows pc which has a start button in the bottom left

1. Close any web browsers you have open
2. Open Start > Run
3. Enter ipconfig /flushdns
4. Click OK
5. You will see a dos window open momentarily
6. Open your web browser, dns cache shuold be cleared now

If the cache is not cleared then you may need to clear your browser cache instead or even restart your computer.


To clear your dns cache on OSX

You will need to do this through the "terminal program which is a dos utility program.

First, open Terminal (usually located under Applications > Utilities)

Then, depending on your OSX version, type (or copy and paste) one of the commands below.

For OSX Capitan
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; say DNS cache flushed 

For OSX Yosemite
sudo discoveryutil mdnsflushcache

OS X Mavericks, Mountain Lion, and Lion
sudo killall -HUP mDNSResponder

Mac OS X v10.6
sudo dscacheutil -flushcache

You might be prompted for your password. Enter the password and click OK.

DNS cache should be cleared. Now you can open web browser.

If the cache is not cleared then you may need to clear your browser cache instead or even restart your computer.

  • flush dns, clear cache
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setting up the Blackberry to receive emails

You are reading this page because you have logged into your online blackberry service from your...

How to set up SMTP Authentication for iPhone

How do I setup  SMTP authentication on my iPhone?1. Inside the Settings, scroll down to find...

Configure iPhone to Store Sent Messages on Server

When I send a message from my iPhone, the sent message does not appear on the server.You have an...

Change the Send/Receive Schedule in Outlook

You are reading this article because your Outlook is only updating your inbox every 30 minutes...

How to leave a copy of message on the server

How do I leave a copy of email messages on my email server in order to view them later in...