Created
November 9, 2010 11:38
-
-
Save adeolaawoyemi/668990 to your computer and use it in GitHub Desktop.
To flush the DNS cache in Mac OS X:-
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 | |
# type dscacheutil -flushcache in your terminal to flush the DNS resolver cache. | |
# ex: bash-2.05a$ dscacheutil -flushcache | |
# Once you run the command your DNS cache (in Mac OS X Leopard) will flush. | |
dscacheutil -flushcache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment