Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- administrator@nc1:/etc/bind$ cat named.conf
- include "/etc/bind/named.conf.options";
- include "/etc/bind/named.conf.local";
- administrator@nc1:/etc/bind$ cat named.conf.options
- options {
- directory "/var/cache/bind";
- version "Go Away 0.0.7";
- notify no;
- empty-zones-enable no;
- auth-nxdomain yes;
- forwarders { 8.8.8.8; 8.8.4.4; };
- allow-transfer { none; };
- dnssec-validation no;
- listen-on-v6 { none; };
- listen-on port 53 { 192.168.10.11; 127.0.0.1; ::1; };
- minimal-responses yes;
- tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";
- };
- administrator@nc1:/etc/bind$ cat named.conf.local
- acl internals { 192.168.10.0/24; 192.168.11.0/24; localhost; };
- acl vpn { 10.9.0.0/24; };
- view trusted {
- match-clients { internals; };
- allow-recursion { internals; };
- allow-query { "internals"; };
- allow-query-cache { "internals"; };
- recursion yes;
- zone "MYDOMAIN.com" IN { type master; file "/etc/bind/db.MYDOMAIN.com"; allow-update { none; }; };
- zone "3cx.us" IN { type master; file "/etc/bind/db.3cx.us"; allow-update { none; }; };
- zone "localhost" { type master; file "/etc/bind/db.local"; };
- zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; };
- zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; };
- zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; };
- include "/var/lib/samba/bind-dns/named.conf";
- };
- view vpn {
- match-clients { vpn; };
- allow-recursion { vpn; };
- allow-query { "vpn"; };
- allow-query-cache { "vpn"; };
- recursion yes;
- zone "MYDOMAIN.com" IN { type master; file "/etc/bind/db.MYDOMAIN.com"; allow-update { none; }; };
- include "/var/lib/samba/bind-dns/named.conf";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement