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

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

What is considered an abusive cron job?

Any cron job that runs too frequently or causes high loads due to such, are not allowed on our...