主DNS
zone "ww.com" {
type master;
file "ww.com.host";
allow-transfer {192.168.2.4;};
notify yes;
also-notify {192.168.2.4;};
};
zone "2.168.192.in-addr.arpa" {
type master;
file "192.168.2.host-ip";
allow-transfer {192.168.2.4;};
notify yes;
also-notify {192.168.2.4;};
};
辅DNS
zone "ww.com" {
type slave;
file "ww.com.host";
masters {192.168.2.3;};
};
zone "2.168.192.in-addr.arpa" {
type slave;
file "192.168.2.host-ip";
masters {192.168.2.3;};
};
bind主辅dns设置
最新推荐文章于 2021-09-01 00:03:18 发布