Portal Home > Knowledgebase > General > Error Handling > How to flush the DNS Cache

How to flush the DNS Cache

How to flush the DNS Cache:


Windows 2000 / Windows XP

  • Open up a command prompt (Start --> Run --> "cmd.exe" > OK).
  • Type in the command "ipconfig /flushdns"

Windows Vista / Windows 7

  • Click the start button and navigate to the command prompt (Start > All Programs > Accessories > Command Prompt)
  • Make sure that you right click on the command prompt and choose "Run as Administrator"
  • Type in the command "ipconfig /flushdns"

Mac OS X Leopard

  • Open up a "Terminal" session.
  • Run the command "dscacheutil -flushcache"

Mac OS X 10.51 / Older

  • Open a command terminal.
  • Run the command "lookupd -flushcache"


  • Open up a command terminal (either as root or run step 2 with sudo)
  • Run the command "/etc/init.d/nscd restart"

Need Additional Help? Go to "Live Chat" on the Hostwinds web site if you require further assistance.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read