named.conf.in revision 1.1.1.1
1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12// NS1 13 14options { 15 pid-file "named.pid"; 16 listen-on port @PORT@ { 10.53.0.1; }; 17 port @PORT@; 18 listen-on-v6 { none; }; 19 recursion no; 20 notify no; 21 dnssec-enable yes; 22 session-keyfile "session.key"; 23 servfail-ttl 0; 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm hmac-sha256; 29}; 30 31controls { 32 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35zone "example" { 36 type master; 37 masterfile-format raw; 38 file "example.db.raw"; 39}; 40 41zone "compat-example" { 42 type master; 43 masterfile-format raw; 44 file "example.db.compat"; 45}; 46 47zone "transfer1" { 48 type master; 49 file "example.db"; 50 allow-transfer { any; }; 51}; 52 53zone "transfer2" { 54 type master; 55 file "example.db"; 56 allow-transfer { any; }; 57}; 58 59zone "transfer3" { 60 type master; 61 file "example.db"; 62 allow-transfer { any; }; 63}; 64 65zone "transfer4" { 66 type master; 67 file "example.db"; 68 allow-transfer { any; }; 69}; 70 71 72zone "large" { 73 type master; 74 file "large.db.raw"; 75 masterfile-format raw; 76 allow-transfer { any; }; 77}; 78 79zone "signed" { 80 type master; 81 file "signed.db.map"; 82 masterfile-format map; 83 allow-transfer { any; }; 84 update-policy local; 85 auto-dnssec maintain; 86}; 87