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.3;
16	notify-source 10.53.0.3;
17	transfer-source 10.53.0.3;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.3; };
21	listen-on-v6 { none; };
22	recursion no;
23	dnssec-validation no;
24	notify yes;
25	include "dnstap.conf";
26};
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm @DEFAULT_HMAC@;
31};
32
33controls {
34	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
35};
36
37zone "example" {
38	type secondary;
39	file "example.bk";
40	allow-update-forwarding { 10.53.0.1; };
41	primaries { 10.53.0.1; };
42};
43
44zone "example2" {
45	type secondary;
46	file "example2.bk";
47	allow-update-forwarding { 10.53.0.1; };
48	primaries { 10.53.0.1; };
49};
50
51zone "example3" {
52	type secondary;
53	file "example3.bk";
54	allow-update-forwarding { 10.53.0.1; };
55	primaries { 10.53.0.1; };
56};
57
58zone "noprimary" {
59	type secondary;
60	file "noprimary1.db";
61	allow-update-forwarding { any; };
62	masterfile-format text;
63	primaries { 10.53.0.4; };
64};
65