正解文件
$TTL 1d
$ORIGIN superroot.com.
domain type class rrdate 管理員郵箱 序列號 刷新時間 重試時間 失效時間 緩存生命時間
superroot.com. IN SOA dns.superroot.com. admin.superroot.com. ( 20140415001 10m 3m 2d 2w) ;SOA,這個,起始授權記錄,意思就是這個區域(zone)誰說了算。
@ IN NS dns.superroot.com.
dns.superroot.com. IN A 192.168.2.2
www IN A 192.168.2.3
@ IN MX 10 mail1.superroot.com.
mail1 IN A 192.168.2.4
ftp IN CNAME mail1.superroot.com.
對同一個FQDN,不能同時使用CNAME和A。
關於SOA5個時間的規則。
Serial不大於2的32次方。4294967296
Refresh >= Retry *2
Refresh + Retry < Expire
Expire >= Rrtry * 10
Expire >= 7Days
NS就是指定此zone的DNS服務器,
A就是指定此DNS的FQDN的ip地址。
MX是指定郵件服務器的優先級和FQDN
MX指定的FQDN需要指定A記錄。
CNAME是別名,最前面加別名,最後面加正式名稱。