How to restart logging

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed Mar 8 14:10:53 UTC 2000


> On 7 Mar 2000 09:09:57 -0800, Morris Jones <mojo at whiteoaks.com> wrote:
> 
> >On Tue, 7 Mar 2000, Ralf Hildebrandt wrote:
> >
> >> Am 07.03.2000 um 17:11:14 +0800 schrieb Mathias Koerber folgendes:
> >> 
> >> > Better:
> >> > 
> >> > % mv /var/log/named.log /var/log/named.log.old
> >> > % ndc reload
> >
> >[...]
> >
> >> The whole point was about NOT having to restart named...
> >
> >No Ralf, he's right.  Reload != restart.  This is the good solution.
> >
> >Reload doesn't lose the cache like a restart would.
> 
> Exactly. I even petitioned ISC to add a new ndc command which would
> *only* reopen the logfiles, w/o rereading the config file (and
> any zones), which would be even faster. A
> 	# ndc reload
> can take wuite some time on a system with many authoritative zones.
> 
> I hope that will make it into BIND 9...

	Try "ndc reconfig" it reads the config file but doesn't open
	zones that are loaded.  Not quite the same but almost.

	Mark
> 
> >
> >Mojo
> 
> -- 
> Mathias Koerber
> mathias at koerber.org
> 
> 
--
Mark Andrews, Nominum Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list