– we create awesome web applications

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
comments powered by Disqus