Created
November 22, 2014 11:18
-
-
Save jay-lannister/f6849b8e97d88fd59214 to your computer and use it in GitHub Desktop.
How to Flush DNS Cache in OS X Yosemite with discoveryutil
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
# ref: http://osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/ | |
# Clear MDNS Cache | |
sudo discoveryutil mdnsflushcache | |
# Clear UDNS Cache | |
sudo discoveryutil udnsflushcaches | |
# Flush and Reset All DNS Caches in OS X Yosemite | |
sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment