Web

How to do a DNS Flush to refresh the DNS cache

It does not matter if you use Windows, Mac OS or Linux operating systems, the DNS cache is essential to be able to access web pages quickly and effectively. However, there are times when the DNS cache becomes outdated or damaged, resulting in the pages being incomplete, erroneous or that you cannot access them outright.

In this sense, one of the most popular methods to renew the cache is through DNS Flush, a very simple technique that allows you to eliminate any obsolete or damaged DNS and renew it to access any website without major inconveniences. For this reason, in this post you will see a detailed explanation on how to do a DNS Flush to renew the DNS Cache quickly and comfortably no matter what Operating System you use.

On windows

It does not matter if you use Windows 10, 8 or 7, the method to flush DNS is technically the same and it is quite easy to apply. Thus, these are the steps to follow to perform this procedure:

  1. Starts the console by pressing the symbol the system Windows + R.
  2. Once the Command Prompt is displayed, type cmd and click OK.

  3. Now enter the command ipconfig / flushdns and hit Enter.
  4. Wait a few seconds while the process is done and you will see a message confirming that the DNS cache has been cleared successfully.

On Mac OS

If you have a computer with a Mac Operating System, you can also do DNS Flush very easily. Here is a list of steps to follow depending on the version of the OS that your device has:

In all cases, you will only have to access Applications> Utilities> Terminal and enter the command corresponding to the version of your Operating System:

  • Mac OS X El Capitan, Mac OS Sierra, Mac OS X Mavericks, Mac OS X Mountain Lion, Mac OS X Lion: sudo killall -HUP mDNSResponder
  • Mac OS X Yosemite: sudo discoveryutil udnsflushcaches
  • Mac OS X Snow Leopard: sudo dscacheutil –flushcache
  • Mac OS X Leopard and earlier: sudo lookupd –flushcache

On linux

If you are a Linux user in any of its main versions, the process to clear the DNS cache is just as simple as in other OS. However, depending on what type of Linux version your computer has, the command to perform this task may vary slightly.

To carry out this process, all you have to do is open the Linux command terminal and enter the command corresponding to your Operating System:

  • Ubuntu Linux: sudo service network-manager restart
  • Other Linux distributions: sudo /etc/init.d/nscd restart

As you have seen, clearing your computer’s DNS Cache using Flush DNS is much easier than you might imagine. The procedure to be carried out will depend on the Operating System you have and the version you use. You just have to follow each of the steps detailed in this text and, if you are a Mac or Linux user, see the command corresponding to the version of your Operating System.

Leave a Reply

Your email address will not be published.

Back to top button