Cannot get BIND logs to write to the correct file.
Sean Son
linuxmailinglistsemail at gmail.com
Mon May 2 18:17:41 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160502/b502b607/attachment-0001.html>
More information about the bind-users
mailing list