DNS Log File maintenance
Vince Hoffman
jhary at unsane.co.uk
Tue Jul 20 18:42:38 UTC 2004
On Tue, 20 Jul 2004 phn at icke-reklam.ipsec.nu wrote:
> Regan, Tim <tregan at t-systemsus.com> wrote:
> > Hello,
>
> > I was wondering if anyone has any example DNS logfile administration
> > tools that preerver the log files daily via cron and compres a copy of
> > the original file without loss of data?
>
>
> /etc/newsyslog supplied with FreeBSD does what you ask for.
>
> A snippet of it's config file :
> # logfilename [owner:group] mode count size when [ZJB] [/pid_=
file] [sig_num]
> /var/log/cron 600 3 100 * Z
> /var/log/amd.log 644 7 100 * Z
> /var/log/auth.log 600 7 100 * Z
> /var/log/kerberos.log 600 7 100 * Z
>
>
>
> newsyslog is OpenSource software, grab a copy use as it pleases ( it has =
a licence)
>
> Or, you might even find FreeBSD superior to your current nameserver platf=
orm.
>
I was going to say much the same, but I have vague memories of a package
called logrotate that does a similar job to newsyslog, available for most
linux distros (and also opensource.) available to download from debian
(according to freebsd ports anyway.)
>
>
>
> --
> Peter H=E5kanson
> IPSec Sverige ( At Gothenburg Riverside )
> Sorry about my e-mail address, but i'm trying to keep spam out=
,
> =09 remove "icke-reklam" if you feel for mailing me. Thanx.
>
More information about the bind-users
mailing list