How To Flush Your DNS Cache

  Print

DNS requests are usually cached, that’s good as it speeds up look-ups within the same host but sometimes we will want to clear the cache so it doesn’t hold invalid values.

To clear your DNS cache in Windows use the following procedure:

  1. Press Windows Key + R
  2. Type "cmd" and press Enter
  3. Type in the following and press Enter: ipconfig /flushdns
  4. You should get a message that your cache was cleared. For a "best practice", restart your computer after clearing the cache.

To clear your DNS cache in Windows (XP and 2003) use the following procedure:

  1. Open a command prompt [Click Start, Run, and then type in cmd and press Enter]
  2. Type in the following and press Enter: ipconfig /flushdns
  3. You should get a message that your cache was cleared. For a "best practice", restart your computer after clearing the cache.

To clear your DNS cache in Mac (OS Tiger and below) use the following procedure:

  1. Open up the Terminal Application [found in Applications -> Utilities folder]
  2. In the terminal window type in the following and press Enter: lookupd -flushcache

To clear your DNS cache in Mac (OS Leopard and above) use the following procedure:

  1. Open up the Terminal Application [found in Applications -> Utilities folder]
  2. In the terminal window type in the following and press Enter: dscacheutil -flushcache

Did you find this article useful?   0 out of 0 people found this article useful.

Related Articles


  • Comments

Add Comment

Replying to  

Self-Hosted Help Desk Software by SupportPal.

Login

 
Forgot password?
Register now