Nick Padley

Clearing DNS Cache in OSX El Capitan

13 October 2015

I can never remember the terminal command to clear my DNS cache, so I’m posting it here. If you need to flush the DNS in OSX 10.11, use the following command on the terminal:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say "cache flushed"
comments powered by Disqus