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// NS2
15
16options {
17	query-source address 10.53.0.2;
18	notify-source 10.53.0.2;
19	transfer-source 10.53.0.2;
20	port @PORT@;
21	pid-file "named.pid";
22	listen-on { 10.53.0.2; };
23	listen-on-v6 { none; };
24	allow-transfer { any; };
25	recursion no;
26	dnssec-policy "none";
27};
28
29key rndc_key {
30	secret "1234abcd8765";
31	algorithm hmac-sha256;
32};
33
34controls {
35	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
36};
37
38/* Inherit dnssec-policy (which is none) */
39
40zone "unsigned.tld" {
41	type primary;
42	file "unsigned.tld.db";
43};
44
45/* Override dnssec-policy */
46
47zone "signed.tld" {
48	type primary;
49	dnssec-policy "default";
50	file "signed.tld.db";
51};
52
53/* Primary service for ns3 */
54
55zone "secondary.kasp" {
56	type primary;
57	file "secondary.kasp.db";
58	allow-transfer { 10.53.0.3; };
59	notify yes;
60};
61