1/*
2 * Copyright (C) 2011, 2012  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 */
18
19// NS3
20
21include "../../common/rndc.key";
22
23controls { inet 10.53.0.3 port 9953 allow { any; } keys { rndc_key; }; };
24
25options {
26	query-source address 10.53.0.3;
27	notify-source 10.53.0.3;
28	transfer-source 10.53.0.3;
29	port 5300;
30	pid-file "named.pid";
31	listen-on { 10.53.0.3; };
32	listen-on-v6 { none; };
33	recursion no;
34	notify yes;
35	try-tcp-refresh no;
36	notify-delay 0;
37};
38
39zone "bits" {
40	type slave;
41	masters { 10.53.0.2; };
42	inline-signing yes;
43	auto-dnssec maintain;
44	allow-update-forwarding { any; };
45	file "bits.bk";
46};
47
48server 10.53.0.4 { request-ixfr no; };
49
50zone "noixfr" {
51	type slave;
52	masters { 10.53.0.4; };
53	inline-signing yes;
54	auto-dnssec maintain;
55	allow-update-forwarding { any; };
56	file "noixfr.bk";
57};
58
59zone "master" {
60	type master;
61	inline-signing yes;
62	auto-dnssec maintain;
63	file "master.db";
64};
65
66zone "dynamic" {
67	type master;
68	inline-signing yes;
69	auto-dnssec maintain;
70	allow-update { any; };
71	file "dynamic.db";
72};
73
74zone "updated" {
75	type master;
76	inline-signing yes;
77	auto-dnssec maintain;
78	allow-update { none; };
79	file "updated.db";
80};
81
82zone "expired" {
83	type master;
84	inline-signing yes;
85	auto-dnssec maintain;
86	allow-update { any; };
87	file "expired.db";
88};
89
90zone "retransfer" {
91	type slave;
92	masters { 10.53.0.2; };
93	inline-signing yes;
94	auto-dnssec maintain;
95	file "retransfer.bk";
96};
97