xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/catz/ns2/named2.conf.in (revision ae87de8892f277bece3527c15b186ebcfa188227)
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
14include "../../common/rndc.key";
15
16controls {
17	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
18};
19
20options {
21	query-source address 10.53.0.2;
22	notify-source 10.53.0.2;
23	transfer-source 10.53.0.2;
24	port @PORT@;
25	pid-file "named.pid";
26	listen-on { 10.53.0.2; };
27	listen-on-v6 { fd92:7065:b8e:ffff::2; };
28	notify no;
29	recursion no;
30	serial-query-rate 100;
31	# removed catalog-zone option, otherwise this is
32	# identical to named1.conf.in
33};
34
35zone "catalog1.example" {
36	type secondary;
37	file "catalog1.example.db";
38	primaries { 10.53.0.1; };
39};
40
41zone "catalog2.example" {
42	type secondary;
43	file "catalog2.example.db";
44	primaries { 10.53.0.3; };
45};
46
47zone "catalog3.example" {
48	type secondary;
49	file "catalog3.example.db";
50	primaries { 10.53.0.1; };
51};
52
53zone "catalog4.example" {
54	type secondary;
55	file "catalog4.example.db";
56	primaries { 10.53.0.1; };
57};
58
59key tsig_key. {
60	secret "LSAnCU+Z";
61	algorithm @DEFAULT_HMAC@;
62};
63