Hello all

I am trying to get BIND to write its logs to two files:

/var/log/named/named.log

and

/var/log/named/dnsreqs.log


No matter what I do , the logs are still being written to
/var/named/data/named.run

Here is the part of my named.conf which deals with logging:

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
         channel default_info {
                file "/var/log/named/named.log";
                print-time yes;
                print-category yes;
                print-severity yes;
        };
        channel log_requests {
                file "/var/log/named/dnsreqs.log";
                print-time yes;
                print-category yes;
                print-severity yes;
        };
      category lame-servers { null; };

};


The default_info and log_requests sections were copied from an older BIND
server that we are running. I am upgrading to a new version of Red Hat
Linux as well as a new version of BIND on a different server.

Any help is greatly appreciated! What am I doing wrong here?


Thanks!


Sincerely

BIND N00b
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to