xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rpz/ns7/named.conf.in (revision d536862b7d93d77932ef5de7eebdc48d76921b77)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12options {
13	query-source address 10.53.0.7;
14	notify-source 10.53.0.7;
15	transfer-source 10.53.0.7;
16	port @PORT@;
17	pid-file "named.pid";
18	statistics-file "named.stats";
19	session-keyfile "session.key";
20	listen-on { 10.53.0.7; };
21	listen-on-v6 { none; };
22	minimal-responses no;
23	recursion yes;
24	dnssec-validation yes;
25
26	response-policy {
27	    zone "policy2" add-soa no;
28	} qname-wait-recurse no
29	nsip-enable yes
30	nsdname-enable yes
31	min-update-interval 0;
32
33	include "../dnsrps-slave.conf";
34};
35
36logging { category rpz { default_debug; }; };
37
38key rndc_key {
39	secret "1234abcd8765";
40	algorithm hmac-sha256;
41};
42
43controls {
44	inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
45};
46
47include "../trusted.conf";
48
49zone "policy2" {
50	type secondary;
51	primaries { 10.53.0.5; };
52	file "policy2.db";
53	also-notify { 10.53.0.3 port @EXTRAPORT1@; };
54	notify-delay 0;
55	allow-transfer  { any; };
56	request-ixfr no; // force axfr on rndc reload
57};
58