BIND logging in a separate node
Prabhat Rana
prana9533 at yahoo.com
Tue Mar 3 16:10:48 UTC 2009
Hello all,
I'm running BIND 9.5.0-P1 on a Solaris 10. My question is I think a combination of BIND logging and the syslog in Solaris. Below is the logging as in the named.conf
logging {
channel my_syslog {
syslog daemon;
severity info;
};
channel stats_file {
file "/var/bind/named.stats" versions 10 size 200000k;
severity debug 3;
print-category yes;
print-time yes;
};
category default { my_syslog; };
category queries { stats_file; };
category notify { stats_file; };
category xfer-in { stats_file; };
category xfer-out { stats_file; };
What I'm trying to do is log /var/bind/named.stats in a separate node. So my question is, can I specify the node IP address and the filename in the named.conf where I wand to stat_file to write to?
If not another option is to use syslog for all the logging and then move the syslog to a different node. However, I want only bind logging to be moved to a separate node. I still want all the other system logging to go to /var/adm/messages as usual on the same node. So can I can configure either named.conf or syslog.conf or both so that I can move the bind logging to a separate box?
Any ideas would be very help ful.
Thanks
Prabhat
More information about the bind-users
mailing list