xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/notify/ns5/named.conf.in (revision 122b5006ee1bd67145794b4cde92f4fe4781a5ec)
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
12key "a" {
13	algorithm "hmac-md5";
14	secret "aaaaaaaaaaaaaaaaaaaa";
15};
16
17key "b" {
18	algorithm "hmac-md5";
19	secret "bbbbbbbbbbbbbbbbbbbb";
20};
21
22key "c" {
23	algorithm "hmac-md5";
24	secret "cccccccccccccccccccc";
25};
26
27options {
28	query-source address 10.53.0.5;
29	notify-source 10.53.0.5;
30	transfer-source 10.53.0.5;
31	port @PORT@;
32	pid-file "named.pid";
33	listen-on { 10.53.0.5; };
34	listen-on-v6 { none; };
35	recursion yes;
36	notify yes;
37};
38
39view "a" {
40	match-clients { key "a"; };
41	zone "x21" {
42		type primary;
43		also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; };
44		file "x21.db";
45		allow-update { any; };
46	};
47};
48
49view "b" {
50	match-clients { key "b"; };
51	zone "x21" {
52		type secondary;
53		primaries { 10.53.0.5 key "a"; };
54		file "x21.bk-b";
55		notify no;
56	};
57};
58
59view "c" {
60	match-clients { key "c"; };
61	zone "x21" {
62		type secondary;
63		primaries { 10.53.0.5 key "a"; };
64		file "x21.bk-c";
65		notify no;
66	};
67};
68