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 回答
- 0 关注
- 3482 浏览
添加回答
举报
0/150
提交
取消