How do I clear my DNS cache on my MAC?

OS X Mountain Lion or Lion

Use the following Terminal command to reset the DNS cache:

sudo killall -HUP mDNSResponder

 

Mac OS X v10.6

Use the following Terminal command to reset the DNS cache:

sudo dscacheutil -flushcache
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How can I see my current IP address?

A question we receive quite frequently is: "I need to know my current public IP address. How can...

How to view server php settings

If you would like to check out your servers php settings, then you would: 1 - Create a file...

How can I redirect from www to non-www

You can add the following code to your .htaccess file to redirect www to non-www:...

How do I find a HostMantis promotional code?

You can find the latest HostMantis promotional codes by following us on...

I have an index.php uploaded, but I still see the Welcome to HostMantis page...

This is because the system will show index.html before index.php. So if both exist in the root of...