Created
March 26, 2015 10:10
-
-
Save jellyjellyrobot/20da96aec8d2e3a60225 to your computer and use it in GitHub Desktop.
Mac DNS Flush
This file contains hidden or 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
## For those times when you're too lazy to reboot and your Mac DNS client screws up. | |
sudo discoveryutil mdnsflushcache | |
sudo discoveryutil udnsflushcaches | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment