named.conf.in revision 1.1.1.2
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 session-keyfile "session.key"; 22 servfail-ttl 0; 23}; 24 25key rndc_key { 26 secret "1234abcd8765"; 27 algorithm hmac-sha256; 28}; 29 30controls { 31 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 32}; 33 34zone "example" { 35 type master; 36 masterfile-format raw; 37 file "example.db.raw"; 38}; 39 40zone "compat-example" { 41 type master; 42 masterfile-format raw; 43 file "example.db.compat"; 44}; 45 46zone "transfer1" { 47 type master; 48 file "example.db"; 49 allow-transfer { any; }; 50}; 51 52zone "transfer2" { 53 type master; 54 file "example.db"; 55 allow-transfer { any; }; 56}; 57 58zone "transfer3" { 59 type master; 60 file "example.db"; 61 allow-transfer { any; }; 62}; 63 64zone "transfer4" { 65 type master; 66 file "example.db"; 67 allow-transfer { any; }; 68}; 69 70 71zone "large" { 72 type master; 73 file "large.db.raw"; 74 masterfile-format raw; 75 allow-transfer { any; }; 76}; 77 78zone "signed" { 79 type master; 80 file "signed.db.map"; 81 masterfile-format map; 82 allow-transfer { any; }; 83 update-policy local; 84 auto-dnssec maintain; 85}; 86