Skip to content

Instantly share code, notes, and snippets.

@haydonryan
Created May 6, 2017 14:25
Show Gist options
  • Save haydonryan/0a12ad78bf534bd08b6a8b84de5cb3f8 to your computer and use it in GitHub Desktop.
Save haydonryan/0a12ad78bf534bd08b6a8b84de5cb3f8 to your computer and use it in GitHub Desktop.
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;say MacOS DNS cache has been cleared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment