xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/xfer/ns8/named.conf.in (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
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.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
18};
19
20options {
21	query-source address 10.53.0.8;
22	notify-source 10.53.0.8;
23	transfer-source 10.53.0.8;
24	port @PORT@;
25	pid-file "named.pid";
26	listen-on { 10.53.0.8; };
27	listen-on-v6 { none; };
28	recursion no;
29	notify no;
30	transfer-message-size 1024;
31};
32
33key key1. {
34	algorithm hmac-md5;
35	secret "1234abcd8765";
36};
37
38acl tzkey {
39	key key1.;
40};
41
42zone "example." {
43	type primary;
44	file "example.db";
45	allow-transfer { tzkey; };
46};
47