Flushing DNS cache on Mac

Sometimes, it becomes necessary to flush DNS cache, i.e. after changing DNS records for a domain. This can be done with the following command (tested successfully on Mac OS X 10.7 “Lion” and 10.8 “Mountain Lion”):

sudo killall -HUP mDNSResponder
This entry was posted in Mac OS X. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + nine =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>