Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MASTER
- $ORIGIN domain.ru.
- $TTL 900;
- domain.ru. IN SOA ns1.myserver.ru. root.domain.ru. 1334406963 28800 7200 1209600 600
- @ IN NS ns1.myserver.ru.
- @ IN NS ns2.myserver.ru.
- @ IN A 1.2.3.4
- www IN CNAME domain.ru.
- acl "net_params" { 1.2.3.4; 127.0.0.1; };
- acl "slave_ns_list" { 11.22.33.44; };
- options {
- directory "/etc/bind";
- listen-on { net_params; };
- allow-query { any; };
- # allow-query-cache { any; };
- allow-recursion { 127.0.0.1; };
- allow-notify { none; };
- # allow-transfer { slave_ns_list; };
- notify YES;
- version "unknown";
- auth-nxdomain no;
- listen-on-v6 { none; };
- };
- zone "domain.ru" {type master;file "domain.ru";allow-transfer {slave_ns_list;};};
- #SLAVE
- acl "net_params" { 11.22.33.44; 127.0.0.1; };
- acl "master_ns" { 1.2.3.4; };
- options {
- directory "/etc/bind";
- listen-on { net_params; };
- allow-query { any; };
- allow-query-cache { any; };
- allow-recursion { 127.0.0.1; };
- allow-notify { master_ns; };
- allow-transfer { none; };
- notify NO;
- version "unknown";
- auth-nxdomain NO;
- listen-on-v6 { none; };
- };
- zone "domain.ru" {type slave;file "domain.ru";masters {1.2.3.4;};allow-notify {1.2.3.4;};};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement