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
- Open-Finder and move to – Applications—Utilities—Terminal.
- Now type in the syntax given below at command line
sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset | say
- Press – Return, key in your password, and then again press – Return
- Now you will get a message that says – “macOS DNS cache reset.”
- 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
- Open – Finder and head to – Applications—Utilities—Terminal.
- Enter the syntax in command line as given below
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
- Press –Return, type your password, and now hit – Return again.
- 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.
- Open – Finder and proceed to Applications—Utilities—Terminal.
- The syntax shown below should be added in command line:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed
- Press – Return, type in password, press – Return again.
- Let the audio alert prompt you for completion of cache successfully.
- 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: