为了账号安全,请及时绑定邮箱和手机立即绑定

bind dns named.conf 的logging配置完后没有出现日志

bind dns named.conf 的logging配置完后没有出现日志

tanhouyusheng 2015-12-17 22:02:21
options{ // Put files that named is allowed to write in the data/ directory: directory "/var/named"; // "Working" directory dump-file "data/cache_dump.db";        statistics-file "data/named_stats.txt";        memstatistics-file "data/named_mem_stats.txt"; //listen-on port 53 { any; }; //listen-on-v6 port 53 { any; };// listen-on-v6 port 53 { ::1; };};logging {/*      If you want to enable debugging, eg. using the 'rndc trace' command, *      named will try to write the 'named.run' file in the $directory (/var/named). *      By default, SELinux policy does not allow named to modify the /var/named directory, *      so put the default debug log file in data/ : */        channel my_file {                file "data/log.msgs";                severity info; print-category yes; print-severity yes;        }; category queries {  my_file;  };};zone "wmy.org" IN { type master; file "wmy.org.zone";};zone "153.29.172.in-addr.arpa" IN {        type master;        file "153.29.172.db";};/*zone "wmy.orgg" IN {        type slave;        masters { 172.29.153.176; };        file    "slaves/wmy.org.zone";};*/
查看完整描述

2 回答

?
tanhouyusheng

TA贡献94条经验 获得超59个赞

那就是路径没写明白,一般只要配置的没问题,肯定能找到日志的

查看完整回答
1 反对 回复 2016-12-14
  • 2 回答
  • 0 关注
  • 3482 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信