亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

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 關注
  • 3557 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號