X

How to clear DNS cache in Windows, Linux, Mac

We have experienced Linux and Windows specialists on-site, so you can always contact our hosting support team, if you have any issues accessing your website. Even if it's hosted with other hosting provider.

by Alex Benko, 2by2host

DNS cache is something that your computer uses to quickly look up the IP address of for example a web site. There are some situations that will require your to clear your DNS cache in order to get the latest information.

To flush DNS cache in Microsoft Windows (98, 2000, XP, Vista, 7):

  • Go to Start -> Run -> type in cmd
  • from command prompt, type ipconfig /flushdns
  • that will reset your DNS cache

To flush DNS cache on Mac OSX (Leopard):

  • type lookupd -flushcache in the terminal window
  • that will reset your DNS cache

To flush DNS cache on Mac OSX:

  • type dscacheutil -flushcache in your terminal window
  • that will reset your DNS cache

To flush DNS cache on a Linux box you need to restart the nscd service/daemon:

  • type /etc/rc.d/init.d/nscd restart the terminal window
  • that will reset your DNS cache
Categories: Articles
wpwpadmin:
Related Post