key "rndc-key" { algorithm hmac-md5; secret "LKASJDLASDLASKJDHL/7w=="; };
controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; };

acl "xfer" { 70.132.96.56/29; 2001:470:1f04:97::/64; };
acl "trusted" { 70.132.96.56/29; localhost; 2001:470:1f04:97::/64; };
acl "bogon" { 0.0.0.0/7; 2.0.0.0/8; 5.0.0.0/8; 7.0.0.0/8; 23.0.0.0/8; 31.0.0.0/8; 36.0.0.0/7; 39.0.0.0/8; 41.0.0.0/8; 42.0.0.0/8; 223.0.0.0/8; 240.0.0.0/4; };

logging { 
	channel default_syslog { syslog local2; severity notice; };
	channel audit_log { file "/var/log/named.log"; severity notice; print-time yes; };
	category default { default_syslog; }; 
	category general { default_syslog; }; 
	category security { audit_log; default_syslog; }; 
	category config { default_syslog; }; 
	category resolver { audit_log; }; 
	category xfer-in { audit_log; }; 
	category xfer-out { audit_log; }; 
	category notify { audit_log; }; 
	category client { audit_log; }; 
	category network { audit_log; }; 
	category update { audit_log; }; 
	category queries { audit_log; }; 
	category lame-servers { audit_log; };
	};

options {
        directory "/var/named/zones";
	pid-file "/var/named/named.pid";
	statistics-file "/var/named/named.stats"; 
	dump-file "/var/log/named.dump"; 
	zone-statistics yes;
        auth-nxdomain yes;
	notify yes;
	transfer-format many-answers;
	max-transfer-time-in 60;
	interface-interval 0;
	allow-transfer { xfer; };
	allow-query { any; };
	blackhole { bogon; };
	listen-on-v6 { any; };
	};

view "internal-in" in { 
	match-clients { trusted; }; 
	recursion yes; 
	additional-from-auth yes; 
	additional-from-cache yes;

zone "." {type hint; file "named.root";};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." { type master; file "localhost.v6"; };
zone "7.9.0.0.4.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa." { type master; file "2001:470:1f04:97"; };
zone "0.0.127.in-addr.arpa" {type master; file "localhost.v6";};
zone "173.76.207.in-addr.arpa" {type master; file "173.76.207.in-addr.arpa";};
zone "1.168.192.in-addr.arpa" {type master; file "1.168.192.in-addr.arpa";};
zone "1.0.10.in-addr.arpa" {type master; file "1.0.10.in-addr.arpa";};
zone "2.0.192.in-addr.arpa" {type master; file "2.0.192.in-addr.arpa";};
zone "56.96.132.70.in-addr.arpa" {type master; file "56-29.96.132.70.in-addr.arpa"; };
zone "bind.com" {type master; file "bind.com.zone";};
};

view "external" in { 
	match-clients { any; }; 
	recursion no; 
	additional-from-auth no; 
	additional-from-cache no; 

zone "7.9.0.0.4.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa." { type master; file "2001:470:1f04:97"; };
zone "173.76.207.in-addr.arpa" {type master; file "173.76.207.in-addr.arpa";};
zone "1.168.192.in-addr.arpa" {type master; file "1.168.192.in-addr.arpa";};
zone "1.0.10.in-addr.arpa" {type master; file "1.0.10.in-addr.arpa";};
zone "2.0.192.in-addr.arpa" {type master; file "2.0.192.in-addr.arpa";};
zone "56.96.132.70.in-addr.arpa" {type master; file "56-29.96.132.70.in-addr.arpa"; };
zone "bind.com" {type master; file "bind.com.zone";};
};