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 2023