September 27, 2013 Leave a comment
Have you been trying to flush your DNS cache in Apple’s OSX with dscacheutil -flushcache and wondering why it doesn’t work?
Well, they changed it in 10.7 and 10.8. Sheesh, the nerve of them! To flush your DNS cache now, you need to use the following command:
sudo killall -HUP mDNSResponder
“OS X keeps a local cache of resolved DNS queries for a time defined by the DNS server, but sometimes it may be necessary to reset the cache immediately and re-query a DNS server. For example, you might do this after an entry on the server is changed or a new entry is added.”
Job done! Enjoy.