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.7;
16	notify-source 10.53.0.7;
17	transfer-source 10.53.0.7;
18	port @PORT@;
19	pid-file "named.pid";
20	statistics-file "named.stats";
21	session-keyfile "session.key";
22	listen-on { 10.53.0.7; };
23	listen-on-v6 { none; };
24	minimal-responses no;
25	recursion yes;
26	dnssec-validation yes;
27
28	response-policy {
29	    zone "policy2" add-soa no;
30	} qname-wait-recurse no
31	nsip-enable yes
32	nsdname-enable yes
33	min-update-interval 0;
34
35	include "../dnsrps-slave.conf";
36};
37
38logging { category rpz { default_debug; }; };
39
40key rndc_key {
41	secret "1234abcd8765";
42	algorithm hmac-sha256;
43};
44
45controls {
46	inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
47};
48
49include "../trusted.conf";
50
51zone "policy2" {
52	type secondary;
53	primaries { 10.53.0.5; };
54	file "policy2.db";
55	also-notify { 10.53.0.3 port @EXTRAPORT1@; };
56	notify-delay 0;
57	allow-transfer  { any; };
58	request-ixfr no; // force axfr on rndc reload
59};
60