Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Flush DNS cache in Lion and Mountain Lion ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Flush DNS cache in Lion and Mountain Lion
Authored by: petieg on Aug 08, '12 09:38:36AM

Hhmm... dscacheutil - flushcache still works in 10.8 for me. Granted it's an upgrade from Lion, but it's still there and works...



[ Reply to This | # ]
Perhaps it's a more specific method
Authored by: lullabud on Aug 08, '12 11:51:10AM

I did a clean install of 10.8 on a Mac Mini and dscacheutil exists there too. My only guess is that Apple doesn't want us clearing the entire dscache, which handles more than just DNS, so they're suggesting this alternate method that only clears DNS. If that's the case though, they should've built a -flushcache option into mDNSResponder. This new kill method seems dirty.



[ Reply to This | # ]
Old method doesn't work
Authored by: lullabud on Aug 08, '12 02:33:00PM

Interesting, I just ran into a DNS issue in 10.8 and was unable to solve it using the old style dscacheutil method. The new method fixed it.

I pinged a new server from 10.8 and was told it did not exist. I then did some work on the server and verified that its hostname was resolvable from another client. I then pinged it again from 10.8 and was told again that it did not exist. I looked it up using "host servername" and saw that it was resolvable by DNS. I did the kill -HUP trick and then pinged again, this time with success.



[ Reply to This | # ]