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

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...

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:...

I can't delete a file or folder, what do I do?

If you are trying to delete a file or folder in FTP and/or your File Manager and receive an error...

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:...

Redirect from HTTP to HTTPS using htaccess

You can use the following code to redirect visitors from HTTP to HTTP using your .htaccess...