xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/statschannel/ns1/named.conf.in (revision a04395531661c5e8d314125d5ae77d4cbedd5d73)
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.1;
14	notify-source 10.53.0.1;
15	transfer-source 10.53.0.1;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.1; };
19	listen-on-v6 { none; };
20	recursion no;
21	notify explicit;
22	minimal-responses no;
23	version none;  // make statistics independent of the version number
24};
25
26statistics-channels { inet 10.53.0.1 port @EXTRAPORT1@ allow { localhost; }; };
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33controls {
34	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
35};
36
37zone "example" {
38	type primary;
39	file "example.db";
40	allow-transfer { any; };
41};
42