[BACK]Return to named-simple.conf CVS log [TXT][DIR] Up to [local] / src / etc / bind

File: [local] / src / etc / bind / Attic / named-simple.conf (download)

Revision 1.5, Mon Sep 22 20:44:32 2003 UTC (20 years, 8 months ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.4: +10 -1 lines

set .com/.net to delegation-only

// $OpenBSD: named-simple.conf,v 1.5 2003/09/22 20:44:32 jakob Exp $
//
// Example file for a simple named configuration, processing both
// recursive and authoritative queries using one cache.


// Update this list to include only the networks for which you want
// to execute recursive queries. The default setting allows all hosts
// on any IPv4 networks for which the system has an interface, and
// the IPv6 localhost address.
//
acl clients {
	localnets;
	::1;
};

options {
	version "";	// remove this to allow version queries

	listen-on    { any; };
	listen-on-v6 { any; };

	allow-recursion { clients; };
};

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

// Standard zones
//
zone "." {
	type hint;
	file "standard/root.hint";
};

zone "localhost" {
	type master;
	file "standard/localhost";
	allow-transfer { localhost; };
};

zone "127.in-addr.arpa" {
	type master;
	file "standard/loopback";
	allow-transfer { localhost; };
};

zone "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 "standard/loopback6.arpa";
	allow-transfer { localhost; };
};

zone "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.int" {
	type master;
	file "standard/loopback6.int";
	allow-transfer { localhost; };
};

zone "com" {
	type delegation-only;
};

zone "net" {
	type delegation-only;
};


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

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