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

You need to use a new command to clear or reset DNS cache in macOS Sierra and macOS High Sierra on Mac. Refer this quick guide to know how it's done:

A DNS (Domain Name System) cache (aka DNS resolver cache) is a temporary database. It consists of the records of recent as well as attempted visits of websites along with internet domains. To troubleshot cache poisoning or other internet connectivity issues, you may need to clear a DNS cache on your Mac. The process of flushing DNS cache in macOS Sierra and macOS High Sierra requires a new command.

When you clear or reset the DNS cache on your Mac, it removes all the entries. Besides, it also gets rid of invalid records. More after the jump:

Sponsored Links

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

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

Step #1. First off, you have to open the Terminal app.

Simply search Terminal using Spotlight search or head over to Finder → ApplicationsUtilities.

 

Launch Terminal Using Spotlight on Mac

Sponsored Links

Step #2. Now, you need to enter the command syntax given below.

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

Enter Command to Flush DNS in macOS High Sierra

Step #3. Now, press the Return/Enter key → Up next, enter the admin password.

Sponsored Links

Flush DNS Cache on Mac in macOS High SierraIt’s important for the privacy of sudo.

Now, you need to wait for a few moments until the DNS cache is completely flushed out.

Once it’s done, a verbal audio alert will confirm that DNS cache is flushed on your Mac.

Just in case the aforementioned command hasn’t worked in resetting DNS cache, use this alternative.

Sponsored Links

Step #1. Open Terminal and enter the following command.

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

Enter Command to Clear DNS Cache on Mac Running macOS HIgh Sierra

Step #2. Enter System password and press the Enter/Return key.

Sponsored Links

Clear DNS Cache on Mac Running macOS HIgh Sierra

That’s done!

Wrapping up:

So, that’s the easy way to clean up DNS cache in macOS Sierra or High Sierra.

If you want to erase DNS cache on your on the older versions of macOS, head over to this post.

You might want to refer these posts as well:

Like this post? Download our app and remain connected with us via Facebook, Twitter, and Google Plus to read more such helpful guides.

Jignesh Padhiyarhttps://www.igeeksblog.com
Jignesh Padhiyar is the founder of iGeeksBlog.com who has a keen eye for news, rumors and all the unusual stuff that happens around iPhone and iPad.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

Apple Watch Series 4 and iPhone Xs Max Giveaway: iGeeksBlog 6th Anniversary Special

An anniversary is a time to celebrate the joys of today, the memories of yesterday, and the hopes of tomorrow.Yes, we are celebrating iGeeksBlog's...

21 Paid iPad and iPhone Apps Gone Free Today – 19 October 2018

iOS Games Gone Free TodayiOS Apps Gone Free TodayWhile there are tons of awesome apps available for free, a number of extraordinary ones come...

16 iPad and iPhone Apps Price Drop – 19 October 2018

What happens when you come to know that one of your favorite iPhone/iPad apps price has just dropped-and available at a huge discount? A...

Facebook Data Hack: 22% of Apple Employees To Delete FB Accounts

Recently, millions of Facebook users have been affected by the data breach, and following this, Apple employees are planning to delete their Facebook accounts,...