Created
December 24, 2019 17:27
-
-
Save gwsu2008/afe6fa5579c3a04d6e3a66f7e2259fc7 to your computer and use it in GitHub Desktop.
MacOS-clear-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/bash +x | |
dscacheutil -flushcache | |
sudo killall -HUP mDNSResponder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment