acl "trusted" { 127.0.0.1; 192.168.1.0/24; };
options {
allow-recursion { trusted; }; //避免變成 Open DNS
allow-transfer { none; }; //預設禁止 Zone Transfer
notify no; //預設不通知轄區 DNS Server
};
zone "mydomain.com" in {
type master;
file "mydomain.com.zone";
allow-transfer { slave.ip.address; };
notify yes;
};
zone "1.168.192.in-addr.arpa" in {
type master;
file "192.168.1.zone";
allow-transfer { slave.ip.address; };
notify yes;
};