Inside "named.conf":
Code:
// * Configuring logging
logging {
channel my_syslog {
syslog daemon;
severity info;
};
channel my_queries {
file "/etc/bind/dns.queries" size 500k;
severity dynamic;
print-category yes;
print-severity yes;
print-time yes;
};
channel my_log {
file "/etc/bind/dns.mylog";
severity dynamic;
print-category yes;
print-severity yes;
print-time yes;
};
channel my_config {
file "/etc/bind/dns.config";
severity dynamic;
print-category yes;
print-severity yes;
print-time yes;
};
category queries { my_queries; }; // Save queries ;)
category statistics { my_syslog; };
category panic { my_syslog; default_stderr; my_log; }; // Send panic errors (cause dns to fail) to all channels
category config { my_config; }; // Configuring file processing
"my_queries" chnanel works just fine. The other 2 channels are empty
i tried to delete the files but when i restart named they are created again and remain empty.
Anyobody see something wrong?