db.ours.com文件:
@IN SOA dns1.ours.com. postmaster.ours.com. (
10051215 ; sn
86400 ;refresh
7100 ;retry
777600 ;expire
126000 ) ;min
@ IN NS dns1.ours.com.
dns1 IN A 210.x.x.15
…
child.ours.com. IN NS bee.child.ours.com.
bee.child.ours.com. IN A 210.x.x.10
我没有改动named.conf
bee.child.ours.com的配置:
db.child.ours.com文件:
@ IN SOA bee.child.ours.com. test.child.ours.com (
10051215 ; sn
86400 ;refresh
7100 ;retry
777600 ;expire
126000 ) ;min
@ IN NS bee.child.ours.com.
bee IN A 210.x.x.10
test IN A 210.x.x.x
named.conf文件:
options {
directory "/var/named";
};
zone "." {
type hint;
file "master/db.cache";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "master/db.0.0.127";
};
zone "x.x.210.in-addr.arpa" {
type master;
file "master/db.child.ours.com.rev";
};
zone "child.ours.com" {
type master;
file "master/db.child.ours.com";
};