How to Reset DNS Cache in MacOS Mojave On Mac – 10.14 (Flush DNS Cache)

flushdns mac with MacOS Mojave is easy with MacOS Mojave on All Macs (iMac, MacBook, MacBook Pro, MacBook Air, Mac Mini). Are you looking to clear and reset the DNS cache in macOS Mojave? Then we have listed some best methods to do so. Periodically users need to reset the DNS cache because sometimes a specific domain or name server is cached or Mac DNS settings has been changed. At that time you need to remove existing DNS cache. So moving further we will see how to reset DNS cache in macOS Mojave.

Execute Command in Terminal: Below commands are case sensitive and use space where it needs

How to Flush or Reset DNS Cache in MacOS Mojave On Mac – 10.14

1 Fush DNS on Mac with MacOS Mojave (1)

Step 1: Launch “Terminal” directly from the Home screen using Spotlight. Or “Applications” > “Utilities” > “Terminal.app” or Type “Terminal” in Spotlight search.

Step 2: Now, enter the command below, To execute use your Mac’s system administrator password [Not an Apple ID].

sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset | say

1 DNS Cache Reset on MacOS Mojave on Mac

Step 3: Hit “return key” and then enter the Admin password and again enter.

Step 4: Wait until “DNS cache has been cleared” appears on the terminal screen.

Step 5: Quit “Terminal”.

You must close all the applications running connected to the internet and wait for the changes to take place. Sometimes the changes take place through a simple refresh in the apps.

If in case the above terminal code doesn’t workout for you then you should break that command and write like this,

sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset

How to clear DNS Cache in MacOS Mojave on Mac

If you have made DNS servers and still you didn’t encounter any changes, then you should clear the DNS cache and again check it this workout for you. It is not necessary to close all the applications which use DNS like Firefox, Safari and other web browsers.

Step 1: Launch “Terminal” from the “Utilities” which you will find in “Applications”.

Step 2: Enter the command with accuracy,

Sudo killall –HUP mDNSResponder;say DNS cache has been flushed

2 DNS Cache has been flushed on Mac running MacOS Mojave

Step 3: Hit return key and enter Admin password.

Step 4: It will take some time to “clear DNS cache”.

Also, you will get a kind of voice message from the system that DNS cache has been flushed.

Alternatively, we have one more command to clear DNS cache if the above one doesn’t work for you,

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

3 DNS Cache has been cleared on MacOS Mojave

How to Reset And Flush DNS Cache in macOS Mojave

Follow the steps to Reset and flush the DNS Cache,

Step 1: Launch “Terminal”.

Step 2: Enter the following command,

sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset

Step 3: Once you enter the command tap return key and enter the Admin password.

Step 4: It will take few moments to clear cache.

Using Dig to Check Query Times

This method is used to check whether the DNS is perfectly working or not.

Step 1: Open “Terminal”.

Step 2: Type “dig howtoisolve.com”. In place of our website, you can enter any website to check query time.

5 Flush Domain NS cache in Your Network (1)

Step 3: You can check result in “Query Time”.If query time is more then change macOS DNS settings to Google DNS.

After changing the DNS server to Google DNS, you can verify the query time again by the same dig command.

Hope you get pro tips, why you shouldn’t share this helpful guide with others. Share this page on your profile and recommend to your friends for more tips and guide on MacOS Mojave issues and problems.

  • Is this article useful?
  • yesno

About jaysukh patel

Jaysukh Patel is the founder of howtoisolve. Also self Professional Developer, Techno lover mainly for iPhone, iPad, iPod Touch and iOS, Jaysukh is one of responsible person in his family. Contact On: [email protected] [OR] [email protected]

Check Also

2 Restore Default On MaOS Mojave from Beta

How to update from macOS Mojave beta to Final version (10.14)

Hope you have enjoyed all the latest features in macOS Mojave beta version on your …

Leave a Reply

Your email address will not be published. Required fields are marked *