How to flush DNS cache on Mac?

Launch Terminal and enter the following command.

NOTE: You would require to have an admin password in order to continue.

 

For Mac OSX 10.7 & 10.8

sudo killall -HUP mDNSResponder

 

For Mac OSX 10.5 & 10.6

dscacheutil -flushcache

 

Note the dscacheutil still exists in 10.7 and 10.8, but the official method to clear out DNS caches is through killing mDNSResponder. You can also find that process running in Activity Monitor.

Was this answer helpful?

 Print this Article

Also Read

My site not working

Here are some common troubleshooting tips. 1. Check nameservers : You should always first check...

My IP got banned in cPanel/WHM

This is usually the case of several invalid login attempts. To get your IP whitelisted or...

How to flush DNS for Windows?

The following steps will flush the DNS entries stored in cache: Close all instances of browsers...

Powered by WHMCompleteSolution