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 12options { 13 query-source address 10.53.0.2 dscp 4; 14 notify-source 10.53.0.2 dscp 5; 15 transfer-source 10.53.0.2 dscp 6; 16 port @PORT@; 17 pid-file "named.pid"; 18 listen-on { 10.53.0.2; }; 19 listen-on-v6 { none; }; 20 recursion yes; 21 notify yes; 22 serial-query-rate 1; // workaround for KB AA-01213 23}; 24 25key rndc_key { 26 secret "1234abcd8765"; 27 algorithm hmac-sha256; 28}; 29 30controls { 31 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 32}; 33 34key altkey { 35 algorithm hmac-md5; 36 secret "1234abcd8765"; 37}; 38 39view alternate { 40 match-clients { key altkey; }; 41 42 zone "update.nil" { 43 type slave; 44 masters { 10.53.0.1; }; 45 file "update.alt.bk"; 46 allow-transfer { any; }; 47 }; 48}; 49 50view primary { 51 match-clients { any; }; 52 53 zone "example.nil" { 54 type slave; 55 masters { 10.53.0.1; }; 56 file "example.bk"; 57 allow-transfer { any; }; 58 }; 59 60 zone "update.nil" { 61 type slave; 62 masters { 10.53.0.1; }; 63 file "update.bk"; 64 allow-transfer { any; }; 65 }; 66 67 zone "sample" { 68 type master; 69 allow-update { any; }; 70 file "sample.db"; 71 }; 72}; 73