xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/nsupdate/ns6/named.conf.in (revision f8cf1a9151c7af1cb0bd8b09c13c66bca599c027)
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
14options {
15	query-source address 10.53.0.6;
16	notify-source 10.53.0.6;
17	transfer-source 10.53.0.6;
18	query-source-v6 address fd92:7065:b8e:ffff::6;
19	notify-source-v6 fd92:7065:b8e:ffff::6;
20	transfer-source-v6 fd92:7065:b8e:ffff::6;
21	port @PORT@;
22	pid-file "named.pid";
23	session-keyfile "session.key";
24	listen-on { 10.53.0.6; };
25	listen-on-v6 { fd92:7065:b8e:ffff::6; };
26	recursion no;
27	notify yes;
28	minimal-responses no;
29	dnssec-validation no;
30};
31
32key rndc_key {
33	secret "1234abcd8765";
34	algorithm @DEFAULT_HMAC@;
35};
36
37controls {
38	inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
39};
40
41zone "in-addr.arpa" {
42	type primary;
43	file "in-addr.db";
44	update-policy {	grant * tcp-self . PTR(1) ANY(2) A; };
45};
46
47zone "2.0.0.2.ip6.arpa" {
48	type primary;
49	file "2.0.0.2.ip6.addr.db";
50	update-policy {	grant * 6to4-self . NS(10) DS(4); };
51};
52