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

I created an add-on domain, what nameservers do I use?

When creating an add-on domain, parked domain for your account, you will need to use the same...

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

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