How to Clear DNS Cache Mac

Clear DNS cache Mac: This article will brief in about the easy way to clear DNS cache on your Mac based device.

Basically, the DNS cache performs the role of a memory which your MAC looks into while trying to identify the process the load a site. Flushing DNS is a simple task though the process differs with each operating system that is launched.

We will help you go through the steps required to clear DNS cache Mac manually for different OS X and MACOS versions.

 

Clear DNS Cache Mac

Before moving on, remember that resetting the DNS cache actually interrupts the current browsing activity on web so make sure you close the browser you are working with prior to performing the DNS flush.

1. Clear DNS cache mac – OS High Sierra

  1. Open-Finder and move to – ApplicationsUtilitiesTerminal.
  2. Now type in the syntax given below at command line

sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset | say

  1. Press – Return, key in your password, and then again press – Return
  2. Now you will get a message that says – “macOS DNS cache reset.”
  3. Exit Terminal.

2. Clear DNS cache mac – OS Sierra

Clearing DNS cache for macOS Sierra is similar to the process we carried out for High Sierra, only the syntax differs

  1. Open – Finder and head to – ApplicationsUtilitiesTerminal.
  2. Enter the syntax in command line as given below

sudo killall -HUP mDNSResponder;say DNS cache has been flushed

  1. Press –Return, type your password, and now hit – Return again.
  2. Hear the audio alert carefully which sends out the message that cache was successfully cleared.

In case the syntax given doesn’t work, then use the syntax in Terminal as given below instead of the above syntax

sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;say MacOS DNS cache has been cleared

3. Clearing DNS cache Mac – OS X El Capitan & Yosemite

The Mac OS X DNS clearing process El Capitan & Yosemite 10.10.4 including the new one is luckily similar. The two version make use of mDNSResponder only.

  1. Open – Finder and proceed to ApplicationsUtilitiesTerminal.
  2. The syntax shown below should be added in command line:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed

  1. Press – Return, type in password, press – Return again.
  2. Let the audio alert prompt you for completion of cache successfully.
  3. Exit –Terminal.

For the versions 10.10, 10.10.1, 10.10.2, and 10.10.3  of OS X Yosemite the process of clearing DNS cache is little different.

Related post: How to disable pop up blocker on Safari

In order to clear DNS caches completely you have to clear the two of them that is –Multicast DNS (MDNS) & Unicast DNS (UDNS).

The process of flushing DNS cache actually is not required often but it is the perfect way to identify the server errors.

Make use of appropriate command for the operating system you are using and you can solve the problems of clearing DNS cache Mac easily within no time without any hassles.

Follow Us On:

Author Bio: Ajit yadav is a professional blogger and co-founder of WindowsClassroom. He is a software engineer by education and blogger & writer by profession.

Ajit Yadav

Author Bio: Ajit yadav is a professional blogger and co-founder of WindowsClassroom. He is a software engineer by education and blogger & writer by profession.

Leave a Reply

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