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