xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/dyndb/ns1/named.conf.in (revision f3cfa6f6ce31685c6c4a758bc430e69eb99f50a4)
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
12controls { };
13
14options {
15	query-source address 10.53.0.1;
16	notify-source 10.53.0.1;
17	transfer-source 10.53.0.1;
18	port @PORT@;
19	pid-file "named.pid";
20	session-keyfile "session.key";
21	listen-on { 10.53.0.1; 127.0.0.1; };
22	listen-on-v6 { none; };
23	recursion no;
24	notify yes;
25};
26
27key rndc_key {
28	secret "1234abcd8765";
29	algorithm hmac-sha256;
30};
31
32controls {
33	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
34};
35
36dyndb sample "../driver/lib/sample.so" { ipv4.example.nil. in-addr.arpa. };
37dyndb sample2 "../driver/lib/sample.so" { ipv6.example.nil. 8.b.d.0.1.0.0.2.ip6.arpa. };
38