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