How To Flush DNS Cache On Mac OS


Now cleaning up DNS mess is not always a huge task. And here, we would be talking about how to flush DNS cache on Mac OS. Regardless the OS you are working on, in order to clean DNS cache you always need to restart the DNS resolver and this funda remains same here too.

FLUSH DNS CACHE IN MAC OS X LEOPARD

On the terminal, type the command dscacheutil –flushcache which would simply flush the DNS resolver cache that we were talking about.

bash-2.05a$ dscacheutil -flushcache

FLUSH DNS CACHE IN MAC OS VERSIONS 10.5.1

Once you open the terminal, enter the command lookupd –flushcache, which works same as the above command have on Mac OS X Leopard.

bash-2.05a$ lookupd –flushcache

Now, respective to the version of Mac you are working on, you can simply enter these commands and flush DNS cache on your Mac OS.

Filed under: Apple
Tags: , , , ,
December 23, 2010 by: Prasanth Chandra

Comments

Leave a Reply