When it comes to resetting and flushing or clearing DNS cache in macOS Sierra or macOS High Sierra, many users turn cynical if they can do this process on their own. But once you go through the below mentioned steps, you will realize that it is pretty damn simple and easy for non-technical users. For technical users, they encounter this situation frequently in their career.

If you have been using Mac for a pretty long time, you must have seen that resetting and clearing DNS cache is different in every macOS version. So this process may not work if you are using Mac or macOS El Capitan.

Normally, technical experts perform this action when name server doesn’t resolve properly on Mac. Professionals also reset DNS cache when they want DNS change to get noticed by the system. The process can also be useful when make some changes in /etc/hosts file and when you wish edits to record without any need to reboot your system.

In any case, you can reset and clear DNS cache in macOS Sierra or macOS High Sierra.

How to Reset and Flush DNS Cache in macOS Sierra

christmas

How to Flush DNS Cache in macOS Sierra or macOS High Sierra

Step #1: Open terminal on your Mac and type sudo killall -HUP mDNSResponder;say DNS cache has been flushed.

Step #2: Mac will ask you to type in a password; you need to type your Mac log in password and press Enter.

Hurray! When DNS cache is flushed on Mac, you will get the confirmation by a verbal audio alert.

Some users reported that above code doesn’t work for them. If you also face same issue then try this alternative.

Step #1: Open Terminal and type following command.

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

Step #2: Enter the admin password and hit enter/return key .

Your DNS cache is reset and flushed on macOS Sierra or macOS High Sierra. This procedure should fix the issue you have been facing with name servers. You can check whether or not the DNS issues are fixed by doing a ‘dig’ or ‘nslookup’ on a website.

How to Use Dig to See Query Times

Many users complain about jumbled DNS settings; or they experience that DNS is too slow. In this case, you may be baffled and wonder what to do next. At this, you can use ‘dig’ to confirm if DNS is working properly.

Step #1: Open terminal on your Mac and type a command: ‘dig indabaa.com’. You can type in any other website name.

Step #2: You will get some results on the screen; among those results, you need to check ‘Query time’. If that query time is too high for a website you have typed in, it is time to change DNS settings of macOS. You can use DNS Server like Google DNS.

After changing DNS server, run the ‘Dig’ command again to check the ‘Query time’ result again. If the problem persists, you need to think about the issue of ISP.

Read More:

The steps given above can work on Mac OS X 10.10.4+, macOS Sierra and on macOS High Sierra. You can use the above method to reset and flush DNS cache in macOS Sierra or High Sierra, and if you face any trouble doing this, share your comments or feedback with us on FacebookTwitter and Google Plus.

LEAVE A REPLY

Please enter your comment!
Please enter your name here