1/*
2 * Copyright (C) 2005, 2007, 2010, 2011  Internet Systems Consortium, Inc. ("ISC")
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 * PERFORMANCE OF THIS SOFTWARE.
15 */
16
17/* $Id: good.conf,v 1.6.114.3 2011/05/07 05:53:24 each Exp $ */
18
19/*
20 * This is just a random selection of configuration options.
21 */
22
23/* cut here */
24options {
25	avoid-v4-udp-ports {
26		100;
27	};
28	avoid-v6-udp-ports {
29		100;
30	};
31	blackhole {
32		10.0.0.0/8;
33	};
34	coresize 1073741824;
35	datasize 104857600;
36	deallocate-on-exit yes;
37	directory ".";
38	dump-file "named_dumpdb";
39	fake-iquery yes;
40	files 1000;
41	has-old-clients no;
42	heartbeat-interval 30;
43	host-statistics yes;
44	host-statistics-max 100;
45	hostname none;
46	interface-interval 30;
47	listen-on port 90 {
48		"any";
49	};
50	listen-on port 100 {
51		127.0.0.1/32;
52	};
53	listen-on-v6 port 53 {
54		"none";
55	};
56	match-mapped-addresses yes;
57	memstatistics-file "named.memstats";
58	multiple-cnames no;
59	named-xfer "this is no longer needed";
60	pid-file none;
61	port 5300;
62	querylog yes;
63	recursing-file "named.recursing";
64	random-device "/dev/random";
65	recursive-clients 3000;
66	serial-queries 10;
67	serial-query-rate 100;
68	server-id none;
69};
70view "first" {
71	match-clients {
72		"none";
73	};
74	zone "example1" {
75		type master;
76		file "xxx";
77		update-policy local;
78	};
79	dnssec-lookaside auto;
80	dnssec-validation auto;
81};
82view "second" {
83	match-clients {
84		"any";
85	};
86	zone "example1" {
87		type master;
88		file "yyy";
89		update-policy local;
90	};
91	dnssec-lookaside "." trust-anchor "dlv.isc.org.";
92	dnssec-validation auto;
93};
94