How To Clear Your DNS Cache On Mac OSX Big Sur / Catalina / Mojave / High Sirrea

By
Zain A
 - 
Jun 22, 2021

People go onto websites and connect to a DNS just to get into the website you're trying to go to, for example, IoTGadgets may have an IP address like 182.186.1.00. But what if the IP changes and your computer has saved it locally to save time? Here's how to reset it.

On Mac OS Catalina/Mojave/High Sirrea

To reset the DNS cache on Mac OS Catalina or Mojave, do these steps

  1. Open Launchpad
  2. Go into the Other Apps Group
  3. Click on Terminal
  4. Put in the command, sudo killall -HUP mDNSResponder; sleep 2;

After that press enter, then put in your password in and press enter.

Next it will say macOS DNS cache reset, meaning that it will remove all saved IP's for websites.

On Big Sur

  1. Open Launchpad
  2. Click on Others
  3. Open Terminal
  4. Paste in the command sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  5. Enter the Macbooks Admin password
  6. Press enter
  7. You're done!

Doing this may slow down the load of websites for the first time, but next it will load faster.

Why you may have to do this

Sometimes a website may change its IP address, that website being something that you've visited multiple times. When the IP address changes, you may have to flush the DNS cache and try again. This will force the computer to reconnect to the DNS server and connect to the new website IP address.

About us

IoT Gadgets is dedicated to bring you all the Internet of Things IoT news that pertains to gadgets. Simple. We love for you to join us on this journey.

Contact us: [email protected]

FOLLOW US

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram