Reset and Flush/Clear DNS Cache in macOS Catalina
The process to reset and flush or clear DNS cache in macOS Catalina is actually very easy. All it requires is for you to enter one command in the Terminal, and you’re done. Well, technically, it’s two commands in one line. If you want to flush DNS cache on a Mac, simply follow the steps below:
1. Launch Terminal, and type below command first.
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
2. Then it will ask to enter a password. Enter your Mac login password and hit Enter.
3. If everything goes right then you have successfully reset, and flushed the DNS cache on macOS Catalina. If you were encountering any issues with name servers, and such, they should now get resolved. You can try and do a “dig“, or an “nslookup” on a website you want, to see if your DNS issues have resolved.
Leave a Reply