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