Home | History | Annotate | Line # | Download | only in ns3
      1  1.1  christos /*
      2  1.1  christos  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3  1.1  christos  *
      4  1.1  christos  * SPDX-License-Identifier: MPL-2.0
      5  1.1  christos  *
      6  1.1  christos  * This Source Code Form is subject to the terms of the Mozilla Public
      7  1.1  christos  * License, v. 2.0.  If a copy of the MPL was not distributed with this
      8  1.1  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 // NS3
     15  1.1  christos 
     16  1.1  christos options {
     17  1.1  christos 	query-source address 10.53.0.3;
     18  1.1  christos 	notify-source 10.53.0.3;
     19  1.1  christos 	transfer-source 10.53.0.3;
     20  1.1  christos 	port @PORT@;
     21  1.1  christos 	pid-file "named.pid";
     22  1.1  christos 	listen-on { 10.53.0.3; };
     23  1.1  christos 	listen-on-v6 { none; };
     24  1.1  christos 	recursion no;
     25  1.1  christos 	notify yes;
     26  1.1  christos 	dnssec-validation no;
     27  1.1  christos };
     28  1.1  christos 
     29  1.1  christos 
     30  1.1  christos key rndc_key {
     31  1.1  christos 	secret "1234abcd8765";
     32  1.1  christos 	algorithm @DEFAULT_HMAC@;
     33  1.1  christos };
     34  1.1  christos 
     35  1.1  christos controls {
     36  1.1  christos 	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
     37  1.1  christos };
     38  1.1  christos 
     39  1.1  christos zone "." {
     40  1.1  christos 	type hint;
     41  1.1  christos 	file "../../_common/root.hint.blackhole";
     42  1.1  christos };
     43  1.1  christos 
     44  1.1  christos dnssec-policy "default-dynamic" {
     45  1.1  christos 	inline-signing no;
     46  1.1  christos };
     47  1.1  christos 
     48  1.1  christos zone "example" {
     49  1.1  christos 	type primary;
     50  1.1  christos 	allow-update { any; };
     51  1.1  christos 	file "example.db";
     52  1.1  christos };
     53  1.1  christos 
     54  1.1  christos zone "relaxed" {
     55  1.1  christos 	type primary;
     56  1.1  christos 	allow-update { any; };
     57  1.1  christos 	check-svcb no;
     58  1.1  christos 	file "relaxed.db";
     59  1.1  christos };
     60  1.1  christos 
     61  1.1  christos zone "nsec3param.test" {
     62  1.1  christos 	type primary;
     63  1.1  christos 	allow-update { any; };
     64  1.1  christos 	file "nsec3param.test.db.signed";
     65  1.1  christos };
     66  1.1  christos 
     67  1.1  christos zone "dnskey.test" {
     68  1.1  christos 	type primary;
     69  1.1  christos 	allow-update { any; };
     70  1.1  christos 	file "dnskey.test.db.signed";
     71  1.1  christos };
     72  1.1  christos 
     73  1.1  christos zone "many.test" {
     74  1.1  christos 	type secondary;
     75  1.1  christos 	primaries { 10.53.0.1; };
     76  1.1  christos 	allow-update-forwarding { any; };
     77  1.1  christos 	file "many.test.bk";
     78  1.1  christos };
     79  1.1  christos 
     80  1.1  christos zone "delegation.test" {
     81  1.1  christos 	type primary;
     82  1.1  christos 	allow-update { any; };
     83  1.1  christos 	file "delegation.test.db.signed";
     84  1.1  christos };
     85  1.1  christos 
     86  1.1  christos zone "too-big.test" {
     87  1.1  christos 	type primary;
     88  1.1  christos 	allow-update { any; };
     89  1.1  christos 	max-records 3;
     90  1.1  christos 	file "too-big.test.db";
     91  1.1  christos };
     92  1.1  christos 
     93  1.1  christos zone "many-updates.test" {
     94  1.1  christos 	type primary;
     95  1.1  christos 	allow-update { any; };
     96  1.1  christos 	file "many-updates.test.db";
     97  1.1  christos };
     98  1.1  christos 
     99  1.1  christos 
    100  1.1  christos /* Zone for testing CDS and CDNSKEY updates from other provider */
    101  1.1  christos zone "multisigner.test" {
    102  1.1  christos 	type primary;
    103  1.1  christos 	allow-update { any; };
    104  1.1  christos 	dnssec-policy "default-dynamic";
    105  1.1  christos 	file "multisigner.test.db";
    106  1.1  christos };
    107