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