GNU/Linux cache DNS

Voir :

systemd-resolve

dnsmasq

nscd

bind

pdnsd

Voir aussi :

ZeroConf / avahi

mDNSResponder

nscd

Source : http://www.eyrie.org/~eagle/notes/solaris/dns-cache.html

Vider le cache DNS

nscd -i hosts

Désactiver le cache DNS

/etc/nscd.conf

enable-cache hosts no

Autre conf (Using NSCD with SSSD)

enable-cache hosts yes enable-cache passwd no enable-cache group no enable-cache netgroup no enable-cache services no

SystemD

sudo resolvectl flush-caches sudo systemd-resolve --flush-caches

Bind

Afficher le cache

rndc dumpdb -cache

Vider le cache

rndc flush

Autres

/etc/init.d/dns-clean restart sudo pdnsd-ctl empty-cache sudo service nscd restart sudo service dnsmasq restart sudo service named restart sudo service avahi-daemon restart sudo killall -HUP mDNSResponder