Just a quick post if only to make a note of this for myself. For years the method of clearing the DNS cache on a Mac has been
dscacheutil -flushcache
This command runs OK on OSX 10.8+ but doesn’t actually seem to clear the DNS cache. On OSX 10.8+ the command you need is:
sudo killall -HUP mDNSResponder
0 Comments