zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; };
zone "0.0.127.in-addr.arpa"{ type master; file "named.local"; allow-update { none; }; }; zone "zhengjq.net" { type master; file "zhengjq.net.zone"; allow-update { none;}; }; zone "1.168.192.in-addr.arpa" { type master; file "1.168.192.in-addr.arpa.zone"; allow-update { none;}; };
1.168.192.in-addr.arpa.zone: $TTL 86400 @ IN SOA dns.zhengjq.net. root.zhengjq.net. ( 1997022711 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS dns.zhengjq.net. 11 IN PTR dns.zhengjq.net. 12 IN PTR mail.zhengjq.net. 13 IN PTR www.zhengjq.net.
zhengjq.net.zone: $TTL 86400 @ IN SOA dns.zhengjq.net. root.zhengjq.net. ( 1997022711 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum @ IN NS 192.168.1.11 dns.zhengjq.net. IN A 192.168.1.11 mail.zhengjq.net. IN A 192.168.1.12 www.zhengjq.net. IN A 192.168.1.13
/etc/resolv.conf文件配置如下: nameserver 192.168.1.11
以上是我的配置,service named start 無錯誤出現,但是使用nslookup 192.168.1.11顯示::connection timed out;no servers could be reached