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