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.
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.
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.
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
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.
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.