Can’t log on to your favorite website? Google.com went down? Another twitter outage?
There is a bug in the Mac name service cache which sometimes causes the machine to lose track of a domain name. It makes you believe the server has gone offline when, in reality, OS X just can’t find its IP address any more. Apparently, at some stage, the local DNS cache tries to fetch a domain’s IP address, fails, gets discouraged and subsequently gives up on the whole thing.
Anyway, the fix for pre-Leopard OS X is widely known:
sudo lookupd -flushcache
However, things have changed in 10.5.2, and quite often the command has been misprinted all over the net. Here is the correct format to flush your DNS cache:
dscacheutil -flushcache
Possibly Related Posts:
- Mac Neophyte Tips: Changing the default Java version
- Mac Neophyte Tips: FileVault on Removable Drives
More:
Mac Neophyte Tips: Changing the default Java versionEven though it worked for me, this fix has given...