Home | History | Annotate | Line # | Download | only in ns1
      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 key "update.example." {
     15 	algorithm @DEFAULT_HMAC@;
     16 	secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
     17 };
     18 
     19 options {
     20 	query-source address 10.53.0.1;
     21 	notify-source 10.53.0.1;
     22 	transfer-source 10.53.0.1;
     23 	port @PORT@;
     24 	tls-port @TLSPORT@;
     25 	pid-file "named.pid";
     26 	listen-on { 10.53.0.1; };
     27 	listen-on tls ephemeral { 10.53.0.1; };
     28 	listen-on-v6 { none; };
     29 	allow-transfer { any; };
     30 	recursion yes;
     31 	dnssec-validation no;
     32 	notify yes;
     33 };
     34 
     35 zone "example" {
     36 	type primary;
     37 	file "example.db";
     38 	allow-update { key update.example.; 10.53.0.3; };
     39 };
     40 
     41 zone "example2" {
     42 	type primary;
     43 	file "example2.db";
     44 	allow-update { key sig0.example2.; };
     45 };
     46 
     47 zone "example2-toomanykeys" {
     48 	type primary;
     49 	file "example2-toomanykeys.db";
     50 	allow-update { key sig0.example2-toomanykeys.; };
     51 };
     52 
     53 zone "example3" {
     54 	type primary;
     55 	file "example3.db";
     56 	allow-update { key update.example.; 10.53.0.3; };
     57 };
     58