How do I clear my local DNS cache?

When you make a change to your domain, like update the nameservers, switch it to another IP address, or change the A or CNAME records, you'll likely need to flush your local DNS cache to get the updated information.

Windows

  1. Open the Start menu
  2. Click on Run
  3. Type cmd and press the OK button
  4. In the command prompt, type ipconfig /flushdns and press the Enter key

Linux

  1. Open a terminal window
  2. Type /etc/rc.d/init.d/nscd restart and press the Enter key

Mac OS

For Mac OS X Leopard:

  1. Open a terminal window
  2. Type dscacheutil -flushcache and press the Enter key

For Mac OS X 10.5.1 and before:

  1. Open a terminal window
  2. Type lookupd -flushcache and press the Enter key