Re: FreeBSD 6.2 default bind9, question about customize logging [re-post]

[ Available lists | Index of freebsd-isp | Month of Jul 2007 | Week of 10 Jul 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Duane Whitty <duane@dwlabs.ca>
Date
10 Jul 2007 18:18:25
Subject
Re: FreeBSD 6.2 default bind9, question about customize logging [re-post]
Message-ID
20070710174548.GE1810@dwpc.dwlabs.ca

Replies
Referenced by

[ Hide this part ]
On Sunday,  8 July 2007 at 12:06:26 -0700, 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
>
Hi Patrick,

I have not configured this in named.conf but I have accomplished
the same task using rndc(8). I used rndc trace level. Sorry but I can't
remember what trace level I used for the zone xfer to be logged.

Best Regards,

Duane


Elapsed time: 0.120 seconds