lundi 4 avril 2011

afficher and clear dns cach for bind

http://www.oreillynet.com/pub/a/network/excerpt/dnsbindcook_ch05/index.html?page=2

Cache flushing helps solve many networking problems including erroneous DNS resolution. We suggest that you flush your DNS resolver caches after setting up OpenDNS to ensure that your computer uses OpenDNS as it's DNS resolver.
The local DNS resolver cache of your operating system can be flushed by running the following commands from the command prompt or command line.
Alternatively, restarting your computer flushes your DNS resolver caches.


Windows Operating Systems:
ipconfig /flushdns
(Note: Windows users may need to run the Command Prompt 'As Administrator' in order to use this command.)


Mac OSX 10.4 (Tiger):
lookupd -flushcache


Mac OSX 10.5/10.6 (Leopard/Snow Leopard):
dscacheutil -flushcache


Linux (Most distros):
sudo /etc/init.d/nscd restart
OR:
sudo /etc/init.d/networking restart

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues