Flushing DNS cache in Linux

From Pulsed Media Wiki
Revision as of 16:51, 7 November 2011 by Nucode (talk | contribs) (Created page with "In most Debian based systems you can simply do: /etc/init.d/bind restart or /etc/init.d/bind9 restart to restart bind, which is a DNS daemon handling the caching (See [[/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In most Debian based systems you can simply do:

/etc/init.d/bind restart

or

/etc/init.d/bind9 restart

to restart bind, which is a DNS daemon handling the caching (See /etc/resolv.conf). On some systems it is named, ie. on RHEL.

/etc/init.d/named restart