named.conf.in revision 1.1.1.3
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-validation yes;
25};
26
27key rndc_key {
28	secret "1234abcd8765";
29	algorithm hmac-sha256;
30};
31
32controls {
33	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
34};
35
36view unused {
37	match-clients { none; };
38
39	zone "duplicate.example" {
40		type master;
41		file "duplicate.db";
42	};
43};
44
45view primary {
46	match-clients { any; };
47
48	zone "master.example" {
49		type primary;
50		file "master.db";
51		allow-update { any; };
52		allow-transfer { any; };
53		auto-dnssec maintain;
54	};
55
56	zone "bigserial.example" {
57		type master;
58		file "bigserial.db";
59	};
60
61	zone "reload.example" {
62		type master;
63		file "reload.db";
64	};
65
66	zone "duplicate.example" {
67		type master;
68		file "duplicate.db";
69	};
70};
71