The DNS (Domain Name System) is a hostname or Domain name system for computers connected to the Internet protocol (IP) address. Sometimes, Mac users may have encountered an issue with name server is not resolving properly or you have modified DNS settings, or you want to tweak the DNS to be noticed by your Mac system then you ought to reset and flush DNS caches in macOS Sierra.

Sponsored Links

If you are the web developer, network administrator or a system administrator of Mac, you must be familiar with clearing DNS caches. Well, DNS Caches flush and reset process is different from all versions of macOS, but this process can be followed similarly for macOS Sierra as well as Mac OS X 10.10.4 or later. If you have changed in /etc.Below/hosts file and want to modify in without needing the reboot, and if you want to fix any issue related to DNS then you might need to Reset and clear/flush DNS caches in macOS Sierra by following below instruction.

How to Reset and Flush DNS Caches in macOS SierraHow to Reset and Flush DNS Caches in macOS Sierra

Well, the Reset and clear/Flush DNS caches on Mac running macOS Sierra is not that tough process. You just need to enter two commands in one line in the Terminal. That’s it! Here’s how to do it.

Step #1. Launch Terminal by pressing heading to Finder→ Applications→ Utilities → Terminal or by pressing Cmd + Space key to open Spotlight search and then search Terminal and select Terminal from outcomes.

Launch Terminal by Spotlight search on MacStep #2. Next, enter following command in Terminal.

Sponsored Links
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Enter the DNS command on Mac running macOS SierraStep #3. After entering above commands hit the Enter key and then you will prompt to enter your Mac password. Enter the password and hit Enter.

Now, Prompt to enter your Mac password.You’re done here!

Now you have reset and flushed or clear DNS caches on your Mac running macOS Sierra.

How to Check DNS Status on Mac running macOS Sierra

You can check the DNS error resolve by “dig” and “nslookup” command. It can also help you check the current DNS status if it is not running well. Here’s how to check DNS on Mac.

Step #1. Open Terminal and type “dig megebyte.com” and hit the Enter. Here we have used our website; you can change megebyte.com.

Open Terminal and type dig megebyte.comStep #2. Once you press the Enter, you will see a “Query time” below the answer section. If you can see the higher Query time, then you need to flush DNS caches.

Now, you can check DNS Cache status on Mac running macOS SierraAfter resetting DNS caches on your Mac, if you are still struggling with the same problem then you may have the problem with ISP. You can try other DNS like Google DNS, or OpenDNS can be helpful.

After following solution mentioned above, if you are having the same DNS problem on your Mac then share us your problem in comments. We will try to give you best solution as soon as possible.