xyz.com IN NS dns.xyz.com.
dns IN A 192.168.1.1
fuzhu IN NS dns.fuzhu.xyz.com.
fuzhu IN A 192.168.1.2
子域:1192.168.1.2
vi /etc/reslove.conf
nameserver 192.168.1.1
接下来就按照正常的DNS来配置
zone "fuzhu.xyz.com" IN {
type master;
file "fuzhu.xyz.com.zone"
allow-update{ none;};
再添加指针记录
fuzhu.xyz.com IN NS dns.fuzhu.xyz.com.
dns IN A 192.168.1.2
www IN A 192.168.1.2
ftp IN A 192.168.1.2
反向也是一样的。。。。。。。