// // Do any local configuration here. // acl slaves { // 195.234.42.0/24; // XName // 193.218.105.144/28; // XName // 193.24.212.232/29; // XName // 212.227.123.29; // 1&1 slv2.1and1.co.uk // 192.168.1.26; // 192.168.1.25; }; // Any IPs added here will not have ads blocked. // For Virginia. acl allow_ads { // 192.168.1.64; 192.168.1.70; 192.168.1.75; 192.168.1.90; 192.168.1.96; }; acl internals { 192.168.1.0/24; 192.168.50.0/24; 192.168.70.0/24; 172.16.0.0/16; !allow_ads; 127.0.0.0/8; }; view "allow_ads" { match-clients { allow_ads; }; recursion yes; // type forward; // forwarders { // 8.8.8.8; // }; include "/etc/bind/named.conf.default-zones"; }; view "internal" { match-clients { internals; }; recursion yes; zone "sharewiz.net" { type master; file "/etc/bind/internals/db.sharewiz.net"; allow-transfer { slaves; }; allow-update { none; }; }; zone "drdizzy.com" { type master; file "/etc/bind/internals/db.drdizzy.com"; allow-transfer { slaves; }; allow-update { none; }; }; zone "magicalentertainmentandsound.com" { type master; file "/etc/bind/internals/db.magicalentertainmentandsound.com"; allow-transfer { slaves; }; allow-update { none; }; }; # Set zone for reverse zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/internals/1.168.192.db"; allow-transfer { slaves; }; allow-update { none; }; }; include "/etc/bind/ad-blacklist"; include "/etc/bind/named.conf.default-zones"; }; view "external" { match-clients { any; }; allow-query { any; };ยท recursion no; zone "sharewiz.net" { type master; file "/etc/bind/externals/db.sharewiz.net"; allow-transfer { slaves; }; allow-update { none; }; }; zone "drdizzy.com" { type master; file "/etc/bind/externals/db.drdizzy.com"; allow-transfer { slaves; }; allow-update { none; }; }; zone "magicalentertainmentandsound.com" { type master; file "/etc/bind/externals/db.magicalentertainmentandsound.com"; allow-transfer { slaves; }; allow-update { none; }; }; # Set zone for reverse. zone "35.134.42.5.in-addr.arpa" { type master; file "/etc/bind/externals/35.134.42.5.db"; allow-transfer { slaves; }; allow-update { none; }; }; };