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 "log1" log no; 24 zone "log2" log yes; 25 zone "log3"; # missing log clause 26 } qname-wait-recurse no 27 nsdname-enable yes 28 nsip-enable yes; 29 30 # policy zones to be tested 31 zone "log1" { type master; file "db.log1"; }; 32 zone "log2" { type master; file "db.log2"; }; 33 zone "log3" { type master; file "db.log3"; }; 34 35 recursion yes; 36 dnssec-validation yes; 37}; 38