named.conf.in revision 1.1.1.1
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12// NS1
13
14options {
15	query-source address 10.53.0.1;
16	notify-source 10.53.0.1;
17	transfer-source 10.53.0.1;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.1; };
21	listen-on-v6 { none; };
22	recursion no;
23	notify yes;
24	dnssec-enable yes;
25	dnssec-validation yes;
26};
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33controls {
34	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
35};
36
37view unused {
38	match-clients { none; };
39
40	zone "duplicate.example" {
41		type master;
42		file "duplicate.db";
43	};
44};
45
46view primary {
47	match-clients { any; };
48
49	zone "master.example" {
50		type master;
51		file "master.db";
52		allow-update { any; };
53		allow-transfer { any; };
54		auto-dnssec maintain;
55	};
56
57	zone "bigserial.example" {
58		type master;
59		file "bigserial.db";
60	};
61
62	zone "reload.example" {
63		type master;
64		file "reload.db";
65	};
66
67	zone "duplicate.example" {
68		type master;
69		file "duplicate.db";
70	};
71};
72