xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/notify/ns5/named.conf.in (revision 4b004442778f1201b2161e87fd65ba87aae6601a)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * SPDX-License-Identifier: MPL-2.0
5 *
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0.  If a copy of the MPL was not distributed with this
8 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
9 *
10 * See the COPYRIGHT file distributed with this work for additional
11 * information regarding copyright ownership.
12 */
13
14key "a" {
15	algorithm "hmac-md5";
16	secret "aaaaaaaaaaaaaaaaaaaa";
17};
18
19key "b" {
20	algorithm "hmac-md5";
21	secret "bbbbbbbbbbbbbbbbbbbb";
22};
23
24key "c" {
25	algorithm "hmac-md5";
26	secret "cccccccccccccccccccc";
27};
28
29options {
30	query-source address 10.53.0.5;
31	notify-source 10.53.0.5;
32	transfer-source 10.53.0.5;
33	port @PORT@;
34	pid-file "named.pid";
35	listen-on { 10.53.0.5; };
36	listen-on-v6 { none; };
37	recursion yes;
38	notify yes;
39};
40
41view "a" {
42	match-clients { key "a"; };
43	zone "x21" {
44		type primary;
45		also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; };
46		file "x21.db";
47		allow-update { any; };
48	};
49};
50
51view "b" {
52	match-clients { key "b"; };
53	zone "x21" {
54		type secondary;
55		primaries { 10.53.0.5 key "a"; };
56		file "x21.bk-b";
57		notify no;
58	};
59};
60
61view "c" {
62	match-clients { key "c"; };
63	zone "x21" {
64		type secondary;
65		primaries { 10.53.0.5 key "a"; };
66		file "x21.bk-c";
67		notify no;
68	};
69};
70