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 do I execute .cgi and .pl scripts outside of the main cgi-bin?

If you have to execute a .cgi or .pl file outside of your main cgi-bin, such as an addon domain...

How do I find a HostMantis promotional code?

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

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 password protect a file?

The easiest way to password protect files is to use cPanel's Password Protect Directories...

How do I access my website before DNS updates/propagates?

You can access your website by using the server name or IP address and your username:...