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
12controls { /* empty */ };
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 5300;
19	pid-file "named.pid";
20	listen-on { 10.53.0.1; };
21	listen-on-v6 { none; };
22	recursion no;
23	notify no;
24	tkey-domain "server";
25	tkey-dhkey "server" KEYID;
26	allow-query-cache { any; };
27};
28
29key rndc_key {
30	secret "1234abcd8765";
31	algorithm hmac-sha256;
32};
33
34controls {
35	inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
36};
37
38key "tkeytest." {
39	algorithm hmac-md5;
40	secret "0123456789ab";
41};
42
43zone example {
44	type master;
45	file "example.db";
46	allow-query { key tkeytest.; none; };
47};
48