named.conf.in revision 1.1.1.4
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 dscp 4; 16 notify-source 10.53.0.2 dscp 5; 17 transfer-source 10.53.0.2 dscp 6; 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}; 26 27key rndc_key { 28 secret "1234abcd8765"; 29 algorithm hmac-sha256; 30}; 31 32controls { 33 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 34}; 35 36key altkey { 37 algorithm hmac-md5; 38 secret "1234abcd8765"; 39}; 40 41view alternate { 42 match-clients { key altkey; }; 43 44 zone "update.nil" { 45 type secondary; 46 primaries { 10.53.0.1; }; 47 file "update.alt.bk"; 48 allow-transfer { any; }; 49 }; 50}; 51 52view primary { 53 match-clients { any; }; 54 55 zone "example.nil" { 56 type secondary; 57 primaries { 10.53.0.1; }; 58 file "example.bk"; 59 allow-transfer { any; }; 60 }; 61 62 zone "update.nil" { 63 type secondary; 64 primaries { 10.53.0.1; }; 65 file "update.bk"; 66 allow-transfer { any; }; 67 }; 68 69 zone "sample" { 70 type primary; 71 allow-update { any; }; 72 file "sample.db"; 73 }; 74}; 75