Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 23:34:44 -0700 (PDT)
From:      Patrick Dung <patrick_dkt@yahoo.com.hk>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 6.2 default bind9, question about customize logging
Message-ID:  <636196.46692.qm@web54304.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
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


      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?636196.46692.qm>