Last active
October 22, 2019 06:52
-
-
Save csloz/c1bf09bc0d7d31a47689bfdf6737c992 to your computer and use it in GitHub Desktop.
OS X DNS flusher for all OS X versions > 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# OS X DNS flusher for all OS X versions > 11 | |
# Author: L. Sheed | |
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache | |
/usr/bin/say "DNS, she is flushed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment