DevOps/SRE/Platform Engineering [and sometimes] Random Rants
Thursday, April 18, 2013
FlushDNS cache on Mac OS X and Linux
#flush your DNS cache on your Mac OS X machine
#Yosemite
sudo discoveryutil mdnsflushcache
#Mountain Lion
sudo killall -HUP mDNSResponder
#CentOS
sudo /etc/init.d/nscd restart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment