acl incnets {
	192.168.0.0/16;
	172.27.0.0/16;
};

options {
        pid-file "/var/named/chroot/var/run/named/named.pid";
        directory "/var/named/chroot/var/named";
        auth-nxdomain no;
        forwarders {64.2.2.4;}; 
	allow-transfer { "none"; };
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

/*logging {
    category default { default_syslog; default_debug; };
    category queries { default_syslog; };
    category resolver { default_syslog; };
    category security { default_syslog; };

};
*/
//
// a caching only nameserver config
//
//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
view "internal" {
        match-clients { incnets; };
        recursion yes;

        zone "lab.example.net" {
        type master;
        file "pri.lab.example.net";
        };

	zone "91.27.172.in-addr.arpa" IN {
        type master;
        file "pri.named.rr";
        allow-update { none; };
        };

};
view "external" {
	match-clients { any; };
	recursion yes;

	zone "lab.example.net" {
	type master;
	file "pub.lab.example.net";
	};
	
	zone "2.2.65.in-addr.arpa" IN {
	type master;
	file "pub.named.rr";
	};
};
