33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman */
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman# common configuration
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaramaninclude "named.conf.header";
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaramanview "recursive" {
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "." {
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman type hint;
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman file "root.hint";
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman };
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman # policy configuration to be tested
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman response-policy {
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log1" log no;
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log2" log yes;
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log3"; # missing log clause
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman } qname-wait-recurse no;
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman # policy zones to be tested
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log1" { type master; file "db.log1"; };
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log2" { type master; file "db.log2"; };
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman zone "log3" { type master; file "db.log3"; };
33ca26968b638b4ff9c657e9574d14d1a04a52ddMukund Sivaraman};