233 lines
5.2 KiB
Plaintext
233 lines
5.2 KiB
Plaintext
|
|
view "parent" {
|
|
match-clients { parent; };
|
|
|
|
recursion yes;
|
|
|
|
forwarders {
|
|
// Google servers
|
|
8.8.8.8;
|
|
|
|
// Frontier DNS servers
|
|
184.16.4.22;
|
|
184.16.33.54;
|
|
};
|
|
|
|
|
|
// prime the server with knowledge of the root servers
|
|
zone "." {
|
|
type hint;
|
|
file "/etc/bind/db.root";
|
|
};
|
|
|
|
// be authoritative for the localhost forward and reverse zones, and for
|
|
// broadcast zones as per RFC 1912
|
|
|
|
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";
|
|
};
|
|
|
|
|
|
zone "1.168.192.in-addr.arpa" {
|
|
type slave;
|
|
masters { 192.168.1.78 key internal-key; };
|
|
file "/var/lib/bind/db.1.168.192-parent";
|
|
allow-transfer { any; };
|
|
allow-notify { 192.168.1.78; key parent-key; };//any; };
|
|
# allow-update { any; };
|
|
};
|
|
|
|
zone "0.10.10.in-addr.arpa" {
|
|
type slave;
|
|
masters { 192.168.1.78 key internal-key; };
|
|
file "/var/lib/bind/db.0.10.10";
|
|
allow-transfer { any; };
|
|
allow-notify { 192.168.1.78; key parent-key; };//any; };
|
|
# allow-update { any; };
|
|
};
|
|
# 50.39.247.22
|
|
# 85.126.50
|
|
zone "85.126.50.in-addr.arpa" IN {
|
|
type master;
|
|
file "/var/lib/bind/85.126.50.in-addr.arpa";
|
|
allow-update { none; };
|
|
};
|
|
zone ketrenos.com {
|
|
type master;
|
|
file "/var/lib/bind/db.ketrenos.com-internal";
|
|
allow-update { key ketrenos.com.; };
|
|
};
|
|
|
|
zone "sketchitect.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.sketchitect.com-internal";
|
|
notify no;
|
|
};
|
|
|
|
zone "portland-werewolf.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.portland-werewolf.com-internal";
|
|
notify no;
|
|
};
|
|
|
|
zone "kiaoramassage.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.kiaoramassage.com-internal";
|
|
notify no;
|
|
};
|
|
};
|
|
|
|
view "internal" {
|
|
match-clients { ketrenos; };
|
|
recursion yes;
|
|
|
|
# 50.39.247.22
|
|
# 85.126.50
|
|
zone "85.126.50.in-addr.arpa" IN {
|
|
type master;
|
|
file "/var/lib/bind/85.126.50.in-addr.arpa";
|
|
allow-update { none; };
|
|
};
|
|
|
|
forwarders {
|
|
// Cleanbrowsing DNS server
|
|
185.228.168.10;
|
|
};
|
|
|
|
// prime the server with knowledge of the root servers
|
|
zone "." {
|
|
type hint;
|
|
file "/etc/bind/db.root";
|
|
};
|
|
|
|
// be authoritative for the localhost forward and reverse zones, and for
|
|
// broadcast zones as per RFC 1912
|
|
|
|
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";
|
|
};
|
|
|
|
zone ketrenos.com {
|
|
in-view "parent";
|
|
};
|
|
|
|
zone "sketchitect.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.sketchitect.com-internal";
|
|
notify no;
|
|
};
|
|
|
|
zone "portland-werewolf.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.portland-werewolf.com-internal";
|
|
notify no;
|
|
};
|
|
|
|
zone "kiaoramassage.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.kiaoramassage.com-internal";
|
|
notify no;
|
|
};
|
|
|
|
zone "1.168.192.in-addr.arpa"{
|
|
type master;
|
|
file "/var/lib/bind/db.192.168.1";
|
|
allow-update { key ketrenos.com.; };
|
|
allow-query { 192.168.0.0/16; 127.0.0.1; };
|
|
//also-notify { 192.168.1.78 key parent-key; };
|
|
notify yes;
|
|
};
|
|
|
|
zone "0.10.10.in-addr.arpa" {
|
|
type master;
|
|
file "/var/lib/bind/db.10.10.0";
|
|
allow-update { key ketrenos.com.; };
|
|
allow-query { 10.10.0.0/24; 127.0.0.1; };
|
|
//also-notify { 192.168.1.78 key parent-key; };
|
|
notify yes;
|
|
};
|
|
};
|
|
|
|
view "internet" {
|
|
match-clients { "any"; };
|
|
recursion no;
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "/etc/bind/db.root";
|
|
};
|
|
|
|
zone "0.0.127.in-addr.arpa"{
|
|
type master;
|
|
file "/etc/bind/db.127";
|
|
};
|
|
|
|
# zone "85.126.50.in-addr.arpa"{
|
|
# type master;
|
|
# file "/var/lib/bind/db.50.39.247";
|
|
# notify yes;
|
|
# };
|
|
# 50.39.247.22
|
|
# 85.126.50
|
|
zone "85.126.50.in-addr.arpa" IN {
|
|
type master;
|
|
file "/var/lib/bind/85.126.50.in-addr.arpa";
|
|
allow-update { none; };
|
|
};
|
|
zone ketrenos.com {
|
|
type master;
|
|
file "/var/lib/bind/db.ketrenos.com";
|
|
notify yes;
|
|
};
|
|
|
|
zone "sketchitect.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.sketchitect.com";
|
|
notify yes;
|
|
};
|
|
zone "portland-werewolf.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.portland-werewolf.com";
|
|
notify yes;
|
|
};
|
|
|
|
zone "kiaoramassage.com" {
|
|
type master;
|
|
file "/var/lib/bind/db.kiaoramassage.com";
|
|
notify yes;
|
|
};
|
|
};
|
|
|