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 15 include "named.conf.header"; 16 17 view "recursive" { 18 # policy configuration to be tested 19 response-policy { 20 zone "passthru.zone" policy passthru; 21 zone "given.zone" policy given; 22 } qname-wait-recurse yes 23 nsdname-enable yes 24 nsip-enable yes; 25 26 # policy zones to be tested 27 zone "passthru.zone" { type primary; file "db.passthru"; }; 28 zone "given.zone" { type primary; file "db.given"; }; 29 30 zone "." { 31 type hint; 32 file "root.hint"; 33 }; 34 35 recursion yes; 36 }; 37