Posts Learn Components Snippets Categories Tags Tools About

How to Flush your DNS Cache on macOS Big Sur

Learn how to easily flush/clear your DNS cache on macOS Big Sur

Created on Jul 30, 2021


To clear the DNS cache on macOS Big Sur, you can open up the "Terminal" app and run the command below.
run sudo killall -HUP mDNSResponder

Other commands for other macOS versions.
  • In macOS El Capitan or newer
    • sudo killall -HUP mDNSResponder
  • For macOS Yosemite
    • sudo discoveryutil udnsflushcaches
  • In macOS Lion, Mountain Lion, and Mavericks
    • sudo killall -HUP mDNSResponder
  • In macOS Snow Leopard
    • sudo dscacheutil –flushcache
  • For macOS Leopard
    • run sudo lookupd –flushcache
  • And in macOS Tiger
    • lookupd –flushcache

If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️

Load comments for How to Flush your DNS Cache on macOS Big Sur


PostSrc Code Components

Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.

View Components

Sponsors 👑

+ Add Yours