分类: 系统运维
2005-05-26 16:14:31
###########################################################
logging {
channel default_log {
file "/var/log/named/dns-default.log" versions 10 size 1m;
severity info;
};
channel lamer_log {
file "/var/log/named/dns-lamer.log" versions 3 size 1m;
severity info;
print-severity yes;
print-time yes;
print-category yes;
};
channel query_log {
file "/var/log/named/dns-query.log" versions 10 size 10m;
severity info;
};
channel security_log {
file "/var/log/named/dns-security.log" versions 3 size 1m;
severity info;
print-severity yes;
print-time yes;
print-category yes;
};
category lame-servers { lamer_log; };
category security{ security_log;};
category queries { query_log;};
category default {default_log;};
};
###########################################################