The way to Flush DNS Cache on macOS Sequoia & Sonoma


How to flush DNS cache on macOS Sequoia and SonomaHow to flush DNS cache on macOS Sequoia and Sonoma

For those who’re operating macOS Sequoia or macOS Sonoma, you may often end up in a scenario the place it is advisable to flush the DNS cache in your Mac. This may be mandatory to repair DNS associated points or errors, to filter out outdated DNS settings or data, to resolve points with sure web sites, and even to have the outcomes of a modified hosts file or another networking element to take impact. Understanding flush DNS cache on MacOS might be useful for troubleshooting some community points with no need to reboot your complete Mac too.

Whereas flushing DNS cache is maybe most related for extra superior Mac customers, it’s pretty simple to perform with the execution of a easy Terminal command string.

The way to Flush DNS Cache in MacOS Sequoia & MacOS Sonoma

For those who’re operating macOS Sequoia 15.x or macOS Sonoma 14.x, right here’s how one can simply flush and clear the DNS cache:

  1. Open the Terminal app on the Mac, discovered within the /Functions/Utilities/ folder or by means of Highlight or Launchpad
  2. Use the next command string on the command line to provoke the DNS cache flush:
  3. sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

  4. Hit Return, and enter the admin password when requested
  5. Give up Terminal app when completed

You received’t see any affirmation that DNS caches have been flushed on MacOS, but when the command was executed correctly then it’s going to have been profitable.

For those who’re new to the Terminal, you’ll discover that there isn’t a seen suggestions while you’re typing your password into the Terminal, and that’s intentional as a safety mechanism. Simply sort the admin password when requested and hit return anyway to execute the command and authenticate it.

For many customers they received’t ever have a cause to flush DNS cache, however individuals who do sure sorts of internet, networking, and web improvement, or altering DNS or utilizing a customized DNS answer like Surfshark DNS or Cloudflare, might have to flush their DNS caches typically.

We’re emphasizing macOS Sequoia and Sonoma right here, however this trick works the identical in all trendy variations of MacOS system software program. In case you have a a lot older MacOS model, you could find options right here as a substitute.



Supply hyperlink

admin
We will be happy to hear your thoughts

Leave a reply

Shopping cart