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
14options {
15	query-source address 10.53.0.2;
16	notify-source 10.53.0.2;
17	transfer-source 10.53.0.2;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.2; };
21	listen-on-v6 { none; };
22	recursion no;
23	dnssec-validation no;
24	notify yes;
25	ixfr-from-differences yes;
26	check-integrity no;
27};
28
29key rndc_key {
30	secret "1234abcd8765";
31	algorithm @DEFAULT_HMAC@;
32};
33
34controls {
35	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
36};
37
38key tsigzone. {
39	algorithm hmac-md5;
40	secret "1234abcd8765";
41};
42
43acl tzkey {
44	key tsigzone.;
45};
46
47zone "." {
48	type hint;
49	file "../../_common/root.hint";
50};
51
52zone "example" {
53	type primary;
54	file "example.db";
55};
56
57zone "tsigzone" {
58	type primary;
59	file "tsigzone.db";
60	allow-transfer { tzkey; };
61};
62
63zone "secondary" {
64	type secondary;
65	file "sec.db";
66	primaries { 10.53.0.1; };
67	masterfile-format text;
68};
69
70zone "mapped" {
71	type secondary;
72	file "mapped.db";
73	masterfile-format text;
74	primaries { 10.53.0.100; };
75};
76
77zone "dot-fallback" {
78	type secondary;
79	file "dot-fallback.db";
80	primaries {
81		10.53.0.1 tls ephemeral;
82		10.53.0.1;
83	};
84};
85