xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rpzrecurse/ns2/named.wildcard3.conf (revision f0fde9902fd4d72ded2807793acc7bfaa1ebf243)
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
12# common configuration
13include "named.conf.header";
14
15view "recursive" {
16    zone "." {
17	type hint;
18	file "root.hint";
19    };
20
21    # policy configuration to be tested
22    response-policy {
23	zone "wildcard3" policy NXDOMAIN;
24    } qname-wait-recurse yes
25	nsdname-enable yes
26	nsip-enable yes;
27
28    # policy zones to be tested
29    zone "wildcard3" { type master; file "db.wildcard3"; };
30
31    recursion yes;
32    dnssec-validation yes;
33};
34