BIND logging problem

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Oct 10 11:19:18 UTC 2005


On Mon, Oct 10, 2005 at 12:18:45PM +0300,
 Kryol <okrg at ukr.net> wrote 
 a message of 8 lines which said:

> /etc/namedb/named.conf:19: unknown option 'logging' 

Without any extract of your named.conf, difficult to say. But remember
that "logging" is a "top-level" option, so it must not be in the
"options" block.


options {
        directory "/etc/bind";
        ...
};

logging {
              channel "query_log" {
                   file "/var/tmp/query.log" versions 3 size 2m;
                   print-time yes;
                   print-category yes;
               };
              category "queries" { "query_log"; };
}; 



More information about the bind-users mailing list