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// NS1 15 16options { 17 pid-file "named.pid"; 18 listen-on port @PORT@ { 10.53.0.1; }; 19 port @PORT@; 20 listen-on-v6 { none; }; 21 recursion no; 22 notify no; 23 session-keyfile "session.key"; 24 servfail-ttl 0; 25 dnssec-validation no; 26}; 27 28key rndc_key { 29 secret "1234abcd8765"; 30 algorithm @DEFAULT_HMAC@; 31}; 32 33controls { 34 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 35}; 36 37zone "example" { 38 type primary; 39 masterfile-format raw; 40 file "example.db.raw"; 41}; 42 43zone "compat-example" { 44 type primary; 45 masterfile-format raw; 46 file "example.db.compat"; 47}; 48 49zone "transfer1" { 50 type primary; 51 file "example.db"; 52 allow-transfer { any; }; 53}; 54 55zone "transfer2" { 56 type primary; 57 file "example.db"; 58 allow-transfer { any; }; 59}; 60 61zone "transfer3" { 62 type primary; 63 file "example.db"; 64 allow-transfer { any; }; 65}; 66 67zone "transfer4" { 68 type primary; 69 file "example.db"; 70 allow-transfer { any; }; 71}; 72 73 74zone "large" { 75 type primary; 76 file "large.db.raw"; 77 masterfile-format raw; 78 allow-transfer { any; }; 79}; 80 81zone "signed" { 82 type primary; 83 file "signed.db.raw"; 84 masterfile-format raw; 85 allow-transfer { any; }; 86 update-policy local; 87 auto-dnssec maintain; 88}; 89