Check out log-file per day
Mark Andrews
Mark_Andrews at isc.org
Wed Nov 12 00:06:40 UTC 2008
In message <491A19E3.4050607 at chrysler.com>, Kevin Darcy writes:
> Mark Andrews wrote:
> > In message <491A0864.70105 at chrysler.com>, Kevin Darcy writes:
> >
> >> Jonathan Petersson wrote:
> >>
> >>> Hi,
> >>> Is there some statement that you can give that triggers bind to check out
> a
> >>> current log-file when a new day occurs. I'm currently using the size optio
> n
> >>> but it would be useful if you could have 1 file per day instead.
> >>>
> >>> If not I guess I'll have to do a cronjob.
> >>>
> >>>
> >> Yeah, it would be nice if there were an rndc "logroll" command.
> >>
> >> For that matter, it would be nice to have a cache-cleaning command in
> >> rndc as well, so that one could schedule that potentially-disruptive
> >> activity for off-hours.
> >>
> >
> > rndc flush (clears the entire cache)
> > rndc flushname (clears the given name)
> >
> clear != clean. I'm talking about only deleting the expired entries. I
> know about cleaning-interval, and it's a handy tunable, but in
> high-performance environments sometimes one needs uneven intervals or to
> skip intervals sometimes (e.g. during month-end processing or whatever).
> An rndc command for "manual" cleaning would give more fine-grained control.
>
> - Kevin
Just set the cache size and named do extra cleaning.
Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list