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
14key rndc_key {
15	secret "1234abcd8765";
16	algorithm @DEFAULT_HMAC@;
17};
18
19controls {
20	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
21};
22
23options {
24	query-source address 10.53.0.2;
25	notify-source 10.53.0.2;
26	transfer-source 10.53.0.2;
27	port @PORT@;
28	pid-file "named.pid";
29	listen-on { 10.53.0.2; };
30	listen-on-v6 { none; };
31	recursion no;
32	notify yes;
33	ixfr-from-differences yes;
34	check-integrity no;
35	dnssec-validation no;
36	allow-query-on { 10.53.0.2; };
37	blackhole { 10.53.0.8; };
38};
39
40key one {
41	algorithm hmac-md5;
42	secret "1234abcd8765";
43};
44
45key two {
46	algorithm hmac-md5;
47	secret "1234abcd8765";
48};
49
50zone "." {
51	type hint;
52	file "../../_common/root.hint";
53};
54
55zone "example" {
56	type primary;
57	file "example.db";
58};
59
60zone "tsigzone" {
61	type primary;
62	file "tsigzone.db";
63	allow-transfer { !key one; any; };
64};
65