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.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
26# md5 key appended by setup.sh at the end
27
28key "sha1" {
29	secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
30	algorithm hmac-sha1;
31};
32
33key "sha224" {
34	secret "hXfwwwiag2QGqblopofai9NuW28q/1rH4CaTnA==";
35	algorithm hmac-sha224;
36};
37
38key "sha256" {
39	secret "R16NojROxtxH/xbDl//ehDsHm5DjWTQ2YXV+hGC2iBY=";
40	algorithm hmac-sha256;
41};
42
43key "sha384" {
44	secret "OaDdoAk2LAcLtYeUnsT7A9XHjsb6ZEma7OCvUpMraQIJX6HetGrlKmF7yglO1G2h";
45	algorithm hmac-sha384;
46};
47
48key "sha512" {
49	secret "jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4fe6Uasc0ckctEmg==";
50	algorithm hmac-sha512;
51};
52
53# md5-trunc key appended by setup.sh at the end
54
55key "sha1-trunc" {
56	secret "FrSt77yPTFx6hTs4i2tKLB9LmE0=";
57	algorithm hmac-sha1-80;
58};
59
60key "sha224-trunc" {
61	secret "hXfwwwiag2QGqblopofai9NuW28q/1rH4CaTnA==";
62	algorithm hmac-sha224-112;
63};
64
65key "sha256-trunc" {
66	secret "R16NojROxtxH/xbDl//ehDsHm5DjWTQ2YXV+hGC2iBY=";
67	algorithm hmac-sha256-128;
68};
69
70key "sha384-trunc" {
71	secret "OaDdoAk2LAcLtYeUnsT7A9XHjsb6ZEma7OCvUpMraQIJX6HetGrlKmF7yglO1G2h";
72	algorithm hmac-sha384-192;
73};
74
75key "sha512-trunc" {
76	secret "jI/Pa4qRu96t76Pns5Z/Ndxbn3QCkwcxLOgt9vgvnJw5wqTRvNyk3FtD6yIMd1dWVlqZ+Y4fe6Uasc0ckctEmg==";
77	algorithm hmac-sha512-256;
78};
79
80zone "example.nil" {
81	type primary;
82	file "example.db";
83};
84
85server 10.53.0.2 {
86	keys sha256;
87};
88
89zone "bad-tsig" {
90	type forward;
91	forwarders { 10.53.0.2; };
92	forward only;
93};
94