在Linux操作系统上配置DNS服务器的日志
#touch/var/named/chroot/var/named/named.log#chownnamed.named/var/named/chroot/var/named/named.log#chmod755/var/named/chroot/var/named/named.log#servicenamedrestart并且确保selinux是关闭状态(查看/etc/sysconfig/selinux配置信息)然后查看采集到的/var/named/chroot/var/named/named.log是否存在故障信息#LOG配置信息
logging{channeldefault_syslog{sysloglocal2;severityerror;};channelaudit_log{file"named.log"versions3size20m;severityinfo;print-timeyes;print-categoryyes;};categorydefault