flushing OS X DNS cache
March 3rd, 2009
We recently moved our DNS to dnsmadeeasy.com from godaddy.com name servers.
After the transfer some internal CNAME records had a problem. So after fixing the problem and checking in the terminal that the changes propagated to the DNS server (host xxx.astrails.com) I tried to type the address in the browser, but it kept giving me the “can’t find host” error.
The solution was to flush OSX built in DNS cache (apparently the ‘host’ utility bypasses it, and browsers do not).
Fortunately it is very easy to do:
- On Leopard: dscacheutil -flushcache
- On Tiger (didn’t check it, no tigers here :): lookupd -flushcache
blog comments powered by Disqus
