zone "." IN {
type hint;
file "named.ca";
};
zone "ezvh.tw" IN {
type master;
file "named.ezvh.tw";
};
zone "lovevh.idv.tw" IN {
type slave;
file "slaves/named.lovevh.idv.tw";
masterfile-format text;
masters{ 64.216.49.187; };
};
zone "2.168.192.in-addr.arpa" IN {
type master;
file "zone-192.168.2.0";
};
#include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
$TTL 86400
@ IN SOA ezvh.tw. admin.ezvh.tw. (
2016092908 ;(序号)每次更新都要+1
3600 ;(更新频率)从服务器向主服务器要求更新时间
1800 ;(失败重新尝试时间)通常为更新频率的一半
604800 ;(失效时间)一直失败尝试时间限定
43200 ;(快取时间)可以理解为默认TTL时间
)
@ IN NS ns.ezvh.tw.
@ IN NS ns1.ezvh.tw.
@ IN NS ns2.ezvh.tw.
* IN A 61.216.49.187
@ IN MX 10 mx.ezvh.tw.
www IN A 61.216.49.187
mail IN A 61.216.49.187
ftp IN A 61.216.49.187
mx IN A 61.216.49.187
ns IN A 61.216.49.187
ns1 IN A 61.216.49.187
ns2 IN A 61.216.49.188
dbm IN A 61.216.49.187
webmail IN A 61.216.49.187
domain ezvh.tw
nameserver 64.216.49.187
nameserver 168.95.1.1
因為你打錯 ip 了啊..
ns1.ezvh.tw: type A, class IN, addr 64.216.49.187
ns2.ezvh.tw: type A, class IN, addr 64.216.49.188
實際上應該是 61.216.49.187 才對吧