How to Flush DNS Cache in macOS Monterey, Big Sur, and Catalina

Updated: May 7, 2022 By: A Goodman Post a comment

Clearing the DNS cache can solve some network problems as well as prevent network security threats, malicious attacks, and DNS cache poisoning.

This article shows you how to clear your DNS cache in macOS Monterey (12.x), Big Sur (11.x), and Catalina (10.x).

1. Open a terminal window and execute the following command:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder


2. You’ll be asked for your password. Enter it to continue:

3. Everything is done. You’ll see no output messages.

That’s it. Further reading:

You can also check out our macOS category page for the latest tutorials and examples.

Notify of
Inline Feedbacks
View all comments