xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/dnstap/ns2/named.conf.in (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
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.2;
14	notify-source 10.53.0.2;
15	transfer-source 10.53.0.2;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	recursion yes;
21	notify yes;
22	statistics-file "named.stats";
23	dnstap-identity "ns2";
24	dnstap-version "xxx";
25	dnstap-output file "dnstap.out" size unlimited versions unlimited;
26	dnstap { all; };
27	send-cookie no;
28	require-server-cookie no;
29	dnssec-validation yes;
30	qname-minimization disabled;
31};
32
33key rndc_key {
34	secret "1234abcd8765";
35	algorithm hmac-sha256;
36};
37
38controls {
39	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
40};
41
42zone "." {
43	type hint;
44	file "../../common/root.hint";
45};
46
47zone "example" {
48	type primary;
49	file "example.db";
50	allow-update { any; };
51};
52