xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/xfer/ns2/named.conf.in (revision f3cfa6f6ce31685c6c4a758bc430e69eb99f50a4)
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.2;
14	notify-source 10.53.0.2;
15	transfer-source 10.53.0.2;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	recursion no;
21	notify yes;
22	ixfr-from-differences yes;
23	check-integrity no;
24};
25
26key rndc_key {
27	secret "1234abcd8765";
28	algorithm hmac-sha256;
29};
30
31controls {
32	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
33};
34
35key tsigzone. {
36	algorithm hmac-md5;
37	secret "1234abcd8765";
38};
39
40acl tzkey {
41	key tsigzone.;
42};
43
44zone "." {
45	type hint;
46	file "../../common/root.hint";
47};
48
49zone "example" {
50	type master;
51	file "example.db";
52};
53
54zone "tsigzone" {
55	type master;
56	file "tsigzone.db";
57	allow-transfer { tzkey; };
58};
59
60zone "slave" {
61	type slave;
62	file "slave.db";
63	masters { 10.53.0.1; };
64	masterfile-format text;
65};
66
67zone "mapped" {
68	type slave;
69	file "mapped.db";
70	masterfile-format text;
71	masters { 10.53.0.100; };
72};
73