// $OpenBSD: named.conf,v 1.14 1999/07/14 11:13:13 jakob Exp $

// NOTE: If you are not chroot'ing named, change directory to
//       /var/named as OpenBSD chroot's named by default
options {
	directory "/";
	named-xfer "/named-xfer";

	//directory "/var/named";
	//named-xfer "/var/named/named-xfer";

	// Don't reveal BIND version
	version "";
};

logging {
	category lame-servers { null; };
	category cname { null; };
};

// ndc control socket
controls {
	unix "/var/run/ndc" perm 0600 owner 0 group 0;
};

// Standard zones
//
zone "localhost" IN {
	type master;
	file "named.localhost";
	allow-transfer { localhost; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.loopback";
	allow-transfer { localhost; };
};

zone "." IN {
	type hint;
	file "named.root";
};

// Master zones
//
//zone "myzone.net" IN {
//	type master;
//	file "master/myzone.net";
//};

// Slave zones
//
//zone "otherzone.net" IN {
//	type slave;
//	file "slave/otherzone.net";
//	masters { 192.168.1.10; [...;] };
//};
