Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/bind/named.conf
- include "/etc/bind/named.conf.options";
- include "/etc/bind/named.conf.local";
- include "/etc/bind/named.conf.default-zones";
- include "/etc/bind/rndc.key";
- /etc/bind/named.conf.options
- acl mydraftsnet {192.168.1.0/24; 127.0.0.1; };
- options {
- directory "/var/cache/bind";
- dnssec-validation auto;
- auth-nxdomain no; # conform to RFC1035
- listen-on {
- 192.168.1.0/24;
- 127.0.0.1;
- };
- listen-on-v6 { none; };
- allow-query { mydraftsnet; };
- forwarders {
- 127.0.0.1 port 5553;
- };
- };
- /etc/bind/named.conf.local
- zone "mysite.ru" {
- type master;
- file "/var/lib/bind/db.mysite.ru";
- allow-update { key rndc-key; };
- };
- zone "1.168.192.in-addr.arpa" {
- type master;
- file "/var/lib/bind/db.192.168.1";
- allow-update { key rndc-key; };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement