Shane Duffy

Archive for February 2015

If you need to clear the DNS resolver cache on a Mac OSX computer here are some handy command line tips.

Over the years with different versions of Mac OSX yosemite, leopard, mountain lion Apple has changed the command that you will need to use.

OSX 10.10 Yosemite

sudo discoveryutil udnsflushcaches

OSX 10.9 Mavericks

dscacheutil -flushcache; sudo killall -HUP mDNSResponder
OSX 10.7 - 10.8 Lion & Mountain Lion
sudo killall -HUP mDNSResponder

OSX 10.5 - 10.6 Leopard & Snow Leopard
sudo dscacheutil -flushcache

Any one who is using windows its stayed the same over the years

ipconfig /flushdns