How to flush DNS in Mac OS X

Mac OS X Leopard (2007) or later

  1. Open ApplicationsUtilitiesTerminal
  2. Type dscacheutil -flushcache and press Enter

Mac OS X Tiger (2005) earlier

  1. Open ApplicationsUtilitiesTerminal
  2. Type lookupd -flushcache and press Enter