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

From R4L Help Wiki
< R4L‎ | Services‎ | Hosting‎ | DNS
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 5: Line 5:
 
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.
 
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): ====
+
==== To flush DNS cache in Microsoft Windows ====
  
 
# Click on '''''Start->Run'''''
 
# Click on '''''Start->Run'''''
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]
+
; 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: ====

Latest revision as of 13:40, 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

  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.