Home / Snippets / How to Flush your DNS Cache on macOS Big Sur
How to Flush your DNS Cache on macOS Big Sur cover

How to Flush your DNS Cache on macOS Big Sur

1K

3 years ago

0 comments

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
notion avatar

Alaz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

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

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this