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
May 2017
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031