在Linux操作系统上配置DNS服务器的日志

2009-05-13 01:29:16来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

#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{audit_log;};categorygeneral{audit_log;};categorysecurity{audit_log;default_syslog;};categoryconfig{default_syslog;};categoryresolver{audit_log;};categoryxfer-in{audit_log;};categoryxfer-out{audit_log;};categorynotify{audit_log;};categoryclient{audit_log;};categorynetwork{audit_log;};categoryupdate{audit_log;};categoryqueries{audit_log;};categorylame-servers{audit_log;};};

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:Linux下利用Squid构建高速的ProxyServer

下一篇:搭建性能比Squid高很多的Varnish服务器

热门词条
热门标签