Learn how to clear your DNS cache in 5 simple steps – WAU

When a website changes addresses or a server change occurs, you may have more difficulty accessing it. Fortunately, you can fix this after learning how to clear your computer’s DNS cache.

When looking for a website, we put the page’s address in the browser. This is so common that almost nobody thinks about it. But in reality, it is just a translation of the server email address.

You’ve probably heard that if you’re having trouble browsing, one way to fix the problem is to delete your DNS record. And to help you with that, let’s explain how to clear the DNS cache and why this is important.

In this text, you will see:

Follow and learn everything you need to know.

What is DNS

DNS is an abbreviation for Domain Name Service. It is a registering a website’s IP you’ve already visited, making future visits faster.

When you access a server, such as WordPress, the website’s IP is registered on your machine. In the next contact with the server, the IP will be redeemed to facilitate your search.

Why it’s important to clear your DNS cache

If the site’s IP changes, bugs can happen, such as the 404 error when trying to access it.

This can cause links pointing to your site to be broken, damaging SEO. And, if you bet on Content Marketing strategies, you know how important it is to your performance.

The DNS cache is a file where these IPs are stored. When you clean it, you “reset” these addresses, allowing the public to find the new IP of a URL more easily.

Step by step to clear the DNS cache on different systems

The procedure varies according to the system you use, which means that some have more or less steps than others.

Here’s how to clear the DNS cache on each one.

Chrome cache host

  1. Open your browser;
  2. Copy the following text and paste it into your URL: chrome: // net-internals / # dns;
  3. Look for the “Clear Host Cache” icon and click on it;
  4. Restart the browser to validate the changes.

Android smartphone

  1. Access your device’s “Settings” menu;
  2. Access the secondary menu “Applications”;
  3. Choose the browser you use on your device;
  4. Click on “Storage”;
  5. Click “Clear cache”.

IOS Smartphone

  1. Leave the device in airplane mode for 15 seconds;
  2. Restart the device.


In this case, there are two methods. The first is:

  1. Search for “CMD” in the Start menu;
  2. Open the “Command Prompt”;
  3. Type “ipconfig / flushdns” and press Enter;
  4. Restart the computer to validate the changes.

Alternatively, you can follow these steps:

  1. Search for “CMD” in the Start menu;
  2. Right click on the “Command Prompt” icon;
  3. Click on “Run as Administrator”;
  4. Type “ipconfig / flushdns” and press Enter;
  5. Restart the computer to validate the changes.


This is a little more difficult, as you need a different command depending on your Mac version. However, the initial steps are the same:

  1. Access the administrator profile;
  2. Open a “Terminal” window;
  3. Enter the command for your version.

The Mac versions and their corresponding commands are:

  • Mac OS X Yosemite or higher: sudo killall -HUP mDNSAnswer
  • Mac OS X Mavericks, Mountain Lion and Lion: sudo killall -HUP mDNSAnswer
  • Mac OS X Leopard and earlier: sudo lookupd -flushcache.

Now that you’ve learned how to clear the DNS cache, you can do this to improve accessibility to your page. We know that when it comes to Digital Marketing, having links working is essential.

If there are broken links on your website or blog, you will need to redirect them to another page. See how to make a 301 redirect on our content!