BIND logging

Fennix cn.stefan at gmail.com
Wed May 30 07:27:44 UTC 2007


On 5/29/07, Alain Reguera Delgado <alain.reguera at gmail.com> wrote:
>
> On 5/28/07, Phil <plabonte at gmail.com> wrote:
> > I want to enable BIND logging so that I can monitor how many dns
> requests my
> > dns server is doing. So in my named.conf file I put the following
> entries:
> >
> > logging{
> >         channel simple_log {
> >                 file "/var/log/named/bind.log" versions 3 size 5m;
> >                 severity info;
> >                 print-category yes;
> >                 print-severity yes;
> >                 print-time yes;
> >                 };
> >         category default {
> >                 simple_log;
> >                 };
> > };
> >
> >
> > I tried using touch to make the inital file and I have also left the
> > directory listed above empty.
> >
> > But nothing goes into the log... What do I need to add to my named.conffile
> > to see any and log all DNS requests?
>
> Does rndc stats help? or maybe just rndc ?
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Also make sure that the log files are owned by the named account so that the
named process has rights to write to the file.  This is a mistake that I
have done before.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070530/f1149adf/attachment-0001.htm>


More information about the fedora-list mailing list