Created
October 30, 2017 02:26
-
-
Save holmesconan/c4e6b9b8c22caa4dc500de9ad7cecb04 to your computer and use it in GitHub Desktop.
Flush macOS 10.12+ DNS cache
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
| #!/bin/sh | |
| killall -HUP mDNSResponder | |
| killall mDNSResponderHelper | |
| dscacheutil -flushcache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment