Clear DNS cache in Mac OS 10.7+ Posted on December 14, 2012 by sysadmin If you need to clear the DNS cache in 10.7 and higher you can use the following command: sudo killall -HUP mDNSResponder