Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 20:50:32 -0500
From:      Edward Shabotinsky <evs@telod.net>
To:        Patrick Dung <patrick_dkt@yahoo.com.hk>
Cc:        freebsd-isp@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 6.2 default bind9, question about customize logging [re-post]
Message-ID:  <C5730146-D943-41E8-8D8B-B1617009D090@telod.net>
In-Reply-To: <410648.39042.qm@web54303.mail.re2.yahoo.com>
References:  <410648.39042.qm@web54303.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
this is what i have from 5.2

logging {
         channel namedlog {
                 file "/var/log/named.log";
                 severity info;
                 print-category yes;
                 print-severity yes;
                 print-time yes;
                 };
         category lame-servers {
                 null;
                 };
         category default {
                 namedlog;
                 };
         category xfer-out { namedlog;};
};

hope this help


On Jul 8, 2007, at 2:06 PM, Patrick Dung wrote:

> I am using FreeBSD 6.2 with the default bind (not ports).
> By default chroot is used.
>
> When named start or stop, it does have log in /var/log/messages.
> But for example, when some do domain transfer successfully, that is  
> not
> logged (zone transfer denied is logged).
>
> So I tried to add this part in named.conf (enabled local0.* in
> syslog.conf) , but still no luck. Any suggestions?
>
> logging {
>         channel named-log {
>                 //syslog daemon;
>                 syslog local0;
>                 severity info;
>                 print-category yes;
>         };
>      category default { named-log; };
>      category xfer-in { named-log; };
>      category xfer-out { named-log; };
>      category unmatched { null; };
> };
>
> Thanks
> Patrick
>
>
>
> ______________________________________________________________________ 
> ______________
> Be a better Heartthrob. Get better relationship answers from  
> someone who knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5730146-D943-41E8-8D8B-B1617009D090>