Category Archives for "How-To’s"

How-To: Flush DNS Cache

Often, when switching a website to a new server or making changes to DNS Zones, your computer will still have the old record cached. This can cause issues such as not being able to access your website. Flushing your DNS Cache will force your computer to fetch a new record from the domains DNS Zone, therefore getting you a new name resolution. Note that if you’re using a local DNS Server this probably won’t work as the server will also be caching records.

Flush DNS Cache in Microsoft Windows

  • Click Start > Run > Type cmd
  • In Command Prompt, type ipconfig /flushdns
Flush DNS Cache in Linux
  • Restart the nscd daemon by opening Terminal and typing /etc/rc.d/init.d/nscd restart
Flush DNS Cache in Max OS X Leopard
  • Open Terminal and type lookupd -flushcache
Flush DNS Cache in Mac OS X Snow Leopard, Lion, Mountain Lion etc
  • Open Terminal and type dscacheutil -flushcache