Difference between revisions of "R4L/Services/Hosting/DNS/FlushCache"

From R4L Help Wiki
< R4L‎ | Services‎ | Hosting‎ | DNS
Jump to: navigation, search
Line 12: Line 12:
 
: Your DNS cache has been flushed.
 
: Your DNS cache has been flushed.
  
; Note: for Windows7, try this [http://register4less.com/flushdns.bat FlushDNS.bat] script.
+
; Note: If you cannot find how to do the above, try this [http://register4less.com/flushdns.bat FlushDNS.bat] script.
  
 
==== To flush the DNS cache in Mac OS X: ====
 
==== To flush the DNS cache in Mac OS X: ====

Revision as of 12:39, 30 December 2013

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
If you cannot find how to do the above, 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.