Please Consider

I run a few websites and used to make enough to keep them going with Adverts. Since Adblockers became popular that income is gone. If you like my content, please consider buying me a coffee. Thank you for your support!

Buy Me A Coffee

October 17, 2016

Reset DNS cache on Mac OSX

To reset (flush) the DNS cache on Mac OSX depends on the OS version. One of the following commands in the terminal should do it for you.

sudo dscacheutil -flushcache

or

sudo killall -HUP mDNSResponder

or

sudo discoveryutil mdnsflushcache

© Arnold Greyling 2025