Shane Duffy

Clear DNS cache on Mac OSX and Windows

Posted on: February 23, 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

Windows
ipconfig /flushdns


 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Subscribe to this blog now!

Top Clicks

  • None
February 2015
M T W T F S S
« Mar    
 1
2345678
9101112131415
16171819202122
232425262728  
%d bloggers like this: