xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rpzrecurse/ns2/named.wildcard2.conf (revision dd3ee07da436799d8de85f3055253118b76bf345)
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 "wildcard2a" policy NXDOMAIN;
24	zone "wildcard2b" policy NXDOMAIN;
25    } qname-wait-recurse yes
26	nsdname-enable yes
27	nsip-enable yes;
28
29    # policy zones to be tested
30    zone "wildcard2a" { type master; file "db.wildcard2a"; };
31    zone "wildcard2b" { type master; file "db.wildcard2b"; };
32
33    recursion yes;
34    dnssec-validation yes;
35};
36