xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rpz/ns9/named.conf.in (revision 867d70fc718005c0918b8b8b2f9d7f2d52d0a0db)
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 * DNS64 / RPZ server.
16 */
17
18options {
19	query-source address 10.53.0.9;
20	notify-source 10.53.0.9;
21	transfer-source 10.53.0.9;
22	port @PORT@;
23	pid-file "named.pid";
24	statistics-file	"named.stats";
25	session-keyfile "session.key";
26	listen-on { 10.53.0.9; };
27	listen-on-v6 { none; };
28	notify yes;
29	minimal-responses no;
30	recursion yes;
31	dnssec-validation yes;
32	dns64-server "example.localdomain.";
33        dns64 64:ff9b::/96 { };
34	response-policy {
35	    zone "rpz";
36	}
37	qname-wait-recurse no ;
38
39	include "../dnsrps.conf";
40	notify-delay 0;
41};
42
43logging { category rpz { default_debug; }; };
44
45key rndc_key {
46	secret "1234abcd8765";
47	algorithm hmac-sha256;
48};
49controls {
50	inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
51};
52
53
54zone "." { type hint; file "hints"; };
55
56zone "rpz." {
57	type primary;
58	file "rpz.db";
59	notify no;
60};
61