// 
// /etc/named.conf
//

options {

	forwarders {
		208.67.222.222;
		213.251.188.140;
	};

	directory "/var/cache/bind";
//	pid-file "/var/run/named/named.pid";
	auth-nxdomain no;
	datasize default;
// Uncomment these to enable IPv6 connections support
// IPv4 will still work:
	listen-on-v6 { any; };
// Add this for no IPv4:
	listen-on { any; };

	// Default security settings.
	allow-recursion { 127.0.0.1; 208.67.222.222; 213.251.188.140; };
	allow-transfer { none; };
	allow-update { none; };
    	version none;
    	hostname none;
    	server-id none;
	notify yes;
};

zone "localhost" IN {
	type master;
	file "/etc/bind/zones/master/localhost.zone";
	allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "/etc/bind/zones/master/127.0.0.zone";
	allow-transfer { any; };
};

zone "." IN {
	type hint;
	file "/etc/bind/zones/root.hint";
};

zone "otherweb.org" {
	type master;
	file "/etc/bind/zones/master/otherweb.zone";
	allow-transfer { any; };
};

zone "archserver.fr" {
	type master;
	file "/etc/bind/zones/master/archserver.zone";
	allow-transfer { any; };
};

zone "artsdarmespicardie.org" {
	type master;
	file "/etc/bind/zones/master/artsdarmespicardie.zone";
	allow-transfer { any; };
};

//zone "example.org" IN {
//	type slave;
//	file "example.zone";
//	masters {
//		192.168.1.100; 
//	};
//	allow-query { any; };
//	allow-transfer { any; };
//};

//logging {
//        channel xfer-log {
//                file "/var/log/named.log";
//                print-category yes;
//                print-severity yes;
//                print-time yes;
//                severity info;
//        };
//        category xfer-in { xfer-log; };
//        category xfer-out { xfer-log; };
//        category notify { xfer-log; };
//};

