R4L/Services/Hosting/DNS/FlushCache

From R4L Help Wiki
< R4L‎ | Services‎ | Hosting‎ | DNS
Revision as of 12:38, 30 December 2013 by Admin (Talk | contribs)

Jump to: navigation, search

How do I flush my local DNS cache?

Flushing the DNS cache on your computer

These instructions will help you clear DNS cache (if needed). If you are connecting through a router, you will likely need to reset the router to clear DNS cache on it.

To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):

  1. Click on Start->Run
  2. type:
ipconfig /flushdns
Your DNS cache has been flushed.
Note
for Windows7, try this FlushDNS.bat script.

To flush the DNS cache in Mac OS X:

in your terminal, type:
# dscacheutil -flushcache
on older versions of OS X, type:
# lookupd -flushcache
Your DNS cache has been flushed.

To flush the DNS cache in Linux

in your terminal, type:
# /etc/rc.d/init.d/nscd restart
or
# service nscd restart
Your DNS cache has been flushed.
Please note, many distributions do not cache DNS, so if nscd is not installed on your distro, this is not needed.