Home | History | Annotate | Line # | Download | only in ns2
      1      1.1  christos /*
      2      1.1  christos  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3      1.1  christos  *
      4  1.1.1.2  christos  * SPDX-License-Identifier: MPL-2.0
      5  1.1.1.2  christos  *
      6      1.1  christos  * This Source Code Form is subject to the terms of the Mozilla Public
      7  1.1.1.2  christos  * License, v. 2.0.  If a copy of the MPL was not distributed with this
      8  1.1.1.2  christos  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
      9      1.1  christos  *
     10      1.1  christos  * See the COPYRIGHT file distributed with this work for additional
     11      1.1  christos  * information regarding copyright ownership.
     12      1.1  christos  */
     13      1.1  christos 
     14      1.1  christos # common configuration
     15      1.1  christos include "named.conf.header";
     16      1.1  christos 
     17      1.1  christos view "recursive" {
     18      1.1  christos 	# policy configuration to be tested
     19      1.1  christos 	response-policy {
     20      1.1  christos 		zone "passthru.zone" policy passthru;
     21      1.1  christos 		zone "given.zone" policy given;
     22      1.1  christos 	} qname-wait-recurse yes
     23      1.1  christos 	nsdname-enable yes
     24      1.1  christos 	nsip-enable yes;
     25      1.1  christos 
     26      1.1  christos 	# policy zones to be tested
     27  1.1.1.3  christos 	zone "passthru.zone" { type primary; file "db.passthru"; };
     28  1.1.1.3  christos 	zone "given.zone" { type primary; file "db.given"; };
     29      1.1  christos 
     30      1.1  christos 	zone "." {
     31      1.1  christos 		type hint;
     32      1.1  christos 		file "root.hint";
     33      1.1  christos 	};
     34      1.1  christos 
     35      1.1  christos 	recursion yes;
     36      1.1  christos };
     37