xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/ixfr/ns4/named.conf.in (revision 8ecbf5f02b752fcb7debe1a8fab1dc82602bc760)
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.4;
14	notify-source 10.53.0.4;
15	transfer-source 10.53.0.4;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.4; };
19	listen-on-v6 { none; };
20	recursion no;
21	notify yes;
22};
23
24key rndc_key {
25	secret "1234abcd8765";
26	algorithm hmac-sha256;
27};
28
29controls {
30	inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
31};
32
33view "primary" {
34	ixfr-from-differences yes;
35	request-ixfr yes;
36	zone "test" IN {
37		type slave;
38		file "mytest.db";
39		masters { 10.53.0.3; };
40	};
41	zone "sub.test" IN {
42		type slave;
43		file "subtest.db";
44		request-ixfr no;
45		masters { 10.53.0.3; };
46	};
47};
48