Mac OS

How to Reset DNS Cache in macOS High Sierra

MacOS High Sierra

Advertisement

If you are a developer, you may understand the importance of resetting DNS cache. If you have changed the name servers of a domain, you need to flush the existing DNS cache. There could be more reasons why you need to reset or clear DNS cache. If you are using MacOS and do not know how to do it, here is the guide. In this article, I will tell you how to clear or reset DNS cache in MacOS High Sierra.

Also see: How to Reset Mac’s NVRAM, PRAM, and SMC

In MacOS High Sierra, you can reset the DNS cache by using the terminal app. You just need to follow these steps.

Step 1: Launch the Terminal Application.

Advertisement

Step 2: At the command line, type the following command and hit enter

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

reset DNS cache in macOS High Sierra

Step 3: Wait a moment until it says “macOS DNS Cache Reset” appear in Terminal the DNS cache reset has been successful.
Exit terminal.

Now relaunch the browser or any other app where you were testing something. Relaunch is necessary for the changes to take effect.

Final Words

As the heading of this article says, the above method is for macOS High Sierra. If you are on any other version of MacOS, you need to follow other Steps. Search on UseThisTip for older articles and you will get the result.

Advertisement

Comments

UseThisTip is one of the best tech blogs that try to solve your computer and internet related problems. You can find best how to technology articles here. We post best computer tricks and internet tricks along with website review and mobile app reviews. We also do software reviews and also try to give you list of best alternative software and apps so that you do not need to buy paid software or app.

Facebook

Copyright © 2017 UseThisTip

To Top