-
-
Save chrispian/d98cbd8db68fb940386b993748f95cff to your computer and use it in GitHub Desktop.
Shell script to flush DNS on mac
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 | |
`dscacheutil -flushcache` | |
echo Done. DNS Restarted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just save it somewhere in you path and you can just do
./fdns
from anywhere in the shell.