options {拷貝 localdomain.zone,localhost.zone,named.local,這些預設檔案到 /var/named/chroot/var/named/
directory "/var/named"
dump-file "/var/named/data/cache_dump.db"
statistics-file "/var/named/data/named_stats.txt"
forwarders { 168.95.1.1; 139.175.10.20; };
allow-query { any; };
};
zone "." IN {
type hint;
file "named.root"
};
zone "localdomain." IN {
type master;
file "localdomain.zone"
allow-update { none; };
};
zone "localhost." IN {
type master;
file "localhost.zone"
allow-update { none; };
};
zone "0.0.127.in-addr.arpa." IN {
type master;
file "named.local"
allow-update { none; };
};
zone "yourdomain.tw" IN {
type master;
file "yourdomain.tw.zone"
allow-update { none; };
};
include "/etc/rndc.key"
歡迎光臨 ihao論壇 (https://ihao.org/dz5/) | Powered by Discuz! 6.0.0 |