xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/notify/ns2/named.conf.in (revision d90047b5d07facf36e6c01dcc0bded8997ce9cc2)
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	startup-notify-rate 5;
23};
24
25key rndc_key {
26	secret "1234abcd8765";
27	algorithm hmac-sha256;
28};
29
30controls {
31	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
32};
33
34zone "." {
35	type hint;
36	file "../../common/root.hint";
37};
38
39zone "example" {
40	type master;
41	file "example.db";
42	// Check that named can handle a empty also-notify.
43	also-notify { /* empty */ };
44};
45
46masters noport { 10.53.0.4; };
47
48masters x21 port @EXTRAPORT1@ { noport; };
49
50zone x1 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
51zone x2 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
52zone x3 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
53zone x4 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
54zone x5 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
55zone x6 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
56zone x7 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
57zone x8 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
58zone x9 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
59zone x10 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
60zone x11 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
61zone x12 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
62zone x13 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
63zone x14 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
64zone x15 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
65zone x16 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
66zone x17 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
67zone x18 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
68zone x19 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
69zone x20 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
70zone x21 { type master; file "x21.db"; allow-update { any; }; also-notify { x21; }; };
71