Categories
Apple OSX

Flushing your DNS on Big Sur

It’s always DNS!

– every time

When ever something on the internet doesn’t work, it’s always DNS.

DNS is a vital part of everything we do, but it also should be the first thing to check when something “just doesn’t work”. Just ask the Auzre guys and girls from their recent world-wide issue.

On OSX Big Sur and other recent operating systems, you can test and flush your local DNS.

Open terminal or iTerm and post the following two commands:

sudo dscacheutil -flushcache; 
sudo killall -HUP mDNSResponder

An Alias

I have the following alias set up, copy this command to your terminal and then you can run both commands with the single alias command:

alias flushdns="sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder"

Now – you just need to call:

flushdns

Leave a Reply

Your email address will not be published. Required fields are marked *