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/*
15 * Test rpz performance.
16 */
17
18options {
19	query-source address 10.53.0.5;
20	notify-source 10.53.0.5;
21	transfer-source 10.53.0.5;
22	port @PORT@;
23	pid-file "named.pid";
24	statistics-file "named.stats";
25	session-keyfile "session.key";
26	listen-on { 10.53.0.5; };
27	listen-on-v6 { none; };
28	ixfr-from-differences yes;
29	notify-delay 0;
30	notify yes;
31	minimal-responses no;
32	recursion yes;
33	dnssec-validation yes;
34
35	# turn rpz on or off
36	include "rpz-switch";
37
38	include "../dnsrps-secondary.conf";
39};
40
41key rndc_key {
42	secret "1234abcd8765";
43	algorithm @DEFAULT_HMAC@;
44};
45controls {
46	inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
47};
48
49include "../trusted.conf";
50zone "."		{type hint; file "hints"; };
51
52zone "tld5."		{type primary; file "tld5.db"; };
53zone "example.tld5."	{type primary; file "example.db"; };
54
55zone "bl0."		{type primary; file "bl.db"; };
56zone "bl1."		{type primary; file "bl.db"; };
57zone "bl2."		{type primary; file "bl.db"; };
58zone "bl3."		{type primary; file "bl.db"; };
59zone "bl4."		{type primary; file "bl.db"; };
60zone "bl5."		{type primary; file "bl.db"; };
61zone "bl6."		{type primary; file "bl.db"; };
62zone "bl7."		{type primary; file "bl.db"; };
63zone "bl8."		{type primary; file "bl.db"; };
64zone "bl9."		{type primary; file "bl.db"; };
65zone "bl10."		{type primary; file "bl.db"; };
66zone "bl11."		{type primary; file "bl.db"; };
67zone "bl12."		{type primary; file "bl.db"; };
68zone "bl13."		{type primary; file "bl.db"; };
69zone "bl14."		{type primary; file "bl.db"; };
70zone "bl15."		{type primary; file "bl.db"; };
71zone "bl16."		{type primary; file "bl.db"; };
72zone "bl17."		{type primary; file "bl.db"; };
73zone "bl18."		{type primary; file "bl.db"; };
74zone "bl19."		{type primary; file "bl.db"; };
75
76zone "policy1" {
77	type primary;
78	file "empty.db";
79	also-notify { 10.53.0.6; };
80	allow-update { any; };
81	allow-transfer { any; };
82};
83
84zone "policy2" {
85	type primary;
86	file "policy2.db";
87	allow-update { any; };
88	allow-transfer { any; };
89};
90
91include "expire.conf";
92