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

I am receiving a 500 Internal Server Error...

If you are receiving a 500 Internal Server error, it is usually due to one of the following: 1)...

I am receiving a 508 error...

If you are receiving a 508 error, it means your account has reached it maximum concurrent...

How to unblock an IP address that is blocked in a servers firewall?

From time to time our servers firewalls may inadvertently block an IP address, but no worries,...