Shane Duffy

Posts Tagged ‘handy command line tips

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

Windows
ipconfig /flushdns


 

Subscribe to this blog now!

Top Clicks

  • None
July 2017
M T W T F S S
« Feb    
 12
3456789
10111213141516
17181920212223
24252627282930
31