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

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

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 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.

macbook dns

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 ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.