named.conf.in revision 1.1.1.3
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.1; 16 notify-source 10.53.0.1; 17 transfer-source 10.53.0.1; 18 port @PORT@; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.1; }; 21 listen-on-v6 { none; }; 22 recursion yes; 23 notify no; 24}; 25 26key "md5" { 27 secret "97rnFx24Tfna4mHPfgnerA=="; 28 algorithm hmac-md5; 29}; 30 31key "sha1" { 32 secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 33 algorithm hmac-sha1; 34}; 35 36key "sha224" { 37 secret "hXfwwwiag2QGqblopofai9NuW28q/1rH4CaTnA=="; 38 algorithm hmac-sha224; 39}; 40 41key "sha256" { 42 secret "R16NojROxtxH/xbDl//ehDsHm5DjWTQ2YXV+hGC2iBY="; 43 algorithm hmac-sha256; 44}; 45 46key "sha384" { 47 secret "OaDdoAk2LAcLtYeUnsT7A9XHjsb6ZEma7OCvUpMraQIJX6HetGrlKmF7yglO1G2h"; 48 algorithm hmac-sha384; 49}; 50 51key "sha512" { 52 secret "jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4fe6Uasc0ckctEmg=="; 53 algorithm hmac-sha512; 54}; 55 56key "md5-trunc" { 57 secret "97rnFx24Tfna4mHPfgnerA=="; 58 algorithm hmac-md5-80; 59}; 60 61key "sha1-trunc" { 62 secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 63 algorithm hmac-sha1-80; 64}; 65 66key "sha224-trunc" { 67 secret "hXfwwwiag2QGqblopofai9NuW28q/1rH4CaTnA=="; 68 algorithm hmac-sha224-112; 69}; 70 71key "sha256-trunc" { 72 secret "R16NojROxtxH/xbDl//ehDsHm5DjWTQ2YXV+hGC2iBY="; 73 algorithm hmac-sha256-128; 74}; 75 76key "sha384-trunc" { 77 secret "OaDdoAk2LAcLtYeUnsT7A9XHjsb6ZEma7OCvUpMraQIJX6HetGrlKmF7yglO1G2h"; 78 algorithm hmac-sha384-192; 79}; 80 81key "sha512-trunc" { 82 secret "jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4fe6Uasc0ckctEmg=="; 83 algorithm hmac-sha512-256; 84}; 85 86zone "example.nil" { 87 type primary; 88 file "example.db"; 89}; 90 91server 10.53.0.2 { 92 keys sha256; 93}; 94 95zone "bad-tsig" { 96 type forward; 97 forwarders { 10.53.0.2; }; 98 forward only; 99}; 100