Last active
February 5, 2019 21:07
-
-
Save pestilence669/cb2f639fe3877a150f3700f2d3fa416c to your computer and use it in GitHub Desktop.
Flush macOS DNS cache
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
dscacheutil -flushcache | |
sudo killall -USR2 mDNSResponder # <- required or name resolution may fail for SSH, ping, etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment