Articles & Code Snippets


Flush DNS Cache in Mac OS X

Flush DNS Cache in Mac OS X


Open Terminal and enter the following command (make sure you have administrative rights)

Flush DNS Cache - Mac OS X 10.7, Mac OS X 10.8

sudo killall -HUP mDNSResponder

Flush DNS Cache - Mac OS X 10.5, Mac OS X 10.6

dscacheutil -flushcache

Flush DNS Cache - Mac OS X 10.4 Tiger

lookupd -flushcache
web


Archives