QUE: xfer-in/out logging

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Fri Jul 6 01:01:55 UTC 2001


	BIND 9.1.x (and 9.0.x) tended to mainly log error conditions.

	BIND 9.2.x has added the noise to the logs.

	If your transfers had been failing you would have been seening
	error messages being logged.

	Mark

> 
> hrmm well i realize this isn't too specific, but....
> i didn't have any luck with logging on 9.1.2 - so if possible you might
> want to try 9.2.0a2. i'm not trying to say that logging is broken in
> earlier versions; only that i never had any luck with it; and as soon as
> i installed the newer alpha release, logging started working with my
> existing configuration file.
> 
> also (yeah it's obvious, but....) if you're running named as user /
> group bind, make sure to chown /var/log/named to bind:bind or named
> won't be able to write to the file.
> 
> our logging statement currently looks like this:
> 
> logging {
>         channel "named_xfr" {
>                 file "/var/log/namedxfr.log";
>                 print-time yes;
>         };
>         channel "named_log" {
>                 file "/var/log/named.log";
>                 print-time yes;
>         };
>         category "xfer-in" { "named_xfr"; };
>         category "xfer-out" { "named_xfr"; };
>         category "notify" { "named_xfr"; };
>         category "security" { "named_xfr"; };
>         category "default" { "named_log"; "default_syslog"; };
> };
> 
> -w
> Mihalis Tsoukalos wrote:
> > 
> > Hello to everyone.
> > I have the following question:
> > 
> > I have the impression that using the following logging options (in
> > /etc/named.conf file):
> > 
> >         channel "xfer-out_log" {
> >                 file "/var/log/named/xfer-out.log";
> >                 print-time yes;
> >         };
> >         channel "xfer-in_log" {
> >                 file "/var/log/named/xfer-in.log";
> >                 print-time yes;
> >         };
> >         category "xfer-out" {
> >                 "xfer-out_log";
> >         };
> >         category "xfer-in" {
> >                 "xfer-in_log";
> >         };
> > 
> > I would be able to log all the zone transfers from my server and to my
> > server.
> > But, this does not seam to work.
> > I have tried to transfer a zone using the command:
> > host -l domain name.server
> > 
> > What I am doing wrong?
> > Can you please help me?
> > 
> > Bind version: 9.1.3
> > OS: SuSE Linux 7.1
> > 
> > Many thanks in advance,
> > 
> > ---
> > Mihalis Tsoukalos
> > mtsouk at freemail.gr
> 
--
Mark Andrews, Nominum Inc.
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