Archive · November 3, 2012

OS X: How to reset the DNS cache

I ALWAYS forget how to reset DNS cache. This is especially useful when moving sites to a new server. Mountain Lion or Lion Use the following Terminal command to reset the DNS cache: sudo killall -HUP mDNSResponder Mac OS X v10.6Use the following Terminal command to reset the DNS cache: sudo dscacheutil -flushcache via OS X: How to reset the DNS cache.