1/*
2 * Copyright (C) 2004, 2007, 2013, 2014  Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 2000, 2001  Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* Id: named2.conf,v 1.22 2007/06/19 23:47:07 tbox Exp  */
19
20controls { /* empty */ };
21
22options {
23	query-source address 10.53.0.2;
24	notify-source 10.53.0.2;
25	transfer-source 10.53.0.2;
26	port 5300;
27	pid-file "named.pid";
28	listen-on { 10.53.0.2; 10.53.0.4; };
29	listen-on-v6 { none; };
30	recursion yes;
31	notify yes;
32};
33
34include "../../common/controls.conf";
35
36view "internal" {
37	match-clients { 10.53.0.2;
38			10.53.0.3; };
39
40	zone "." {
41		type hint;
42		file "../../common/root.hint";
43	};
44
45	zone "example" {
46		type master;
47		file "internal.db";
48		allow-update { any; };
49	};
50
51	zone "clone" {
52		type master;
53		file "clone.db";
54		allow-update { any; };
55	};
56
57	zone "inline" {
58		type master;
59		file "internal/inline.db";
60		key-directory "internal";
61		auto-dnssec maintain;
62		inline-signing yes;
63	};
64};
65
66view "external" {
67	match-clients { any; };
68
69	zone "." {
70		type hint;
71		file "../../common/root.hint";
72	};
73
74	zone "example" {
75		type master;
76		file "example.db";
77	};
78
79	zone "clone" {
80		in-view internal;
81		forward only;
82		forwarders { 10.53.0.5; };
83	};
84
85	zone "inline" {
86		type master;
87		file "external/inline.db";
88		key-directory "external";
89		auto-dnssec maintain;
90		inline-signing yes;
91	};
92};
93