Posts Tagged ‘Flush DNS’

How to Flush DNS Cache in Mac OS X

November 12, 2013 Leave a comment

For OS X 10.3 and 10.4
lookupd -flushcache

For OS X 10.5 and 10.6
dscacheutil -flushcache

For OS X Lion (10.7) and OS X Mountain Lion (10.8)
sudo killall -HUP mDNSResponder
Note: dscacheutil still exists in 10.7 and 10.8, but the official method to clear out DNS caches is by killing mDNSResponder.

For OS X Mavericks (10.9)
dscacheutil -flushcache;sudo killall -HUP mDNSResponder