xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/statistics/ns3/named.conf.in (revision e6c7e151de239c49d2e38720a061ed9d1fa99309)
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.3;
14	notify-source 10.53.0.3;
15	transfer-source 10.53.0.3;
16	port @PORT@;
17	directory ".";
18	pid-file "named.pid";
19	listen-on { 10.53.0.3; };
20	listen-on-v6 { none; };
21	recursion yes;
22	dnssec-validation yes;
23	notify yes;
24	qname-minimization disabled;
25	zone-statistics yes;
26	glue-cache yes;
27};
28
29statistics-channels {
30	inet 10.53.0.3 port @EXTRAPORT1@ allow { any; };
31};
32
33key rndc_key {
34	secret "1234abcd8765";
35	algorithm hmac-sha256;
36};
37
38controls {
39	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
40};
41
42zone "." {
43	type hint;
44	file "root.hint";
45};
46
47zone "example" {
48	type master;
49	allow-update { any; };
50	file "internal.db";
51};
52
53zone "a-slave" {
54	type slave;
55	file "slave.bk";
56	masters { 10.53.0.1; };
57};
58