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