Skip to content

Flush DNS cache in Lion and Mountain Lion

21. August 2012

To flush the DNS cache in Mac OS X 10.5 and 10.6, run this command in Terminal:

sudo dscacheutil -flushcache

To do the same in 10.7 and 10.8, run this command:

sudo killall -HUP mDNSResponder


http://nerdlogger.com/category/cli/

http://hints.macworld.com/article.php?story=20120808001623238

Advertisements

From → dns

Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: