xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/xfer/ns6/named.conf.in (revision c9055873d0546e63388f027d3d7f85381cde0545)
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
14include "../../_common/rndc.key";
15
16controls {
17	inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
18};
19
20options {
21	query-source address 10.53.0.6;
22	notify-source 10.53.0.6;
23	transfer-source 10.53.0.6;
24	port @PORT@;
25	pid-file "named.pid";
26	listen-on { 10.53.0.6; };
27	listen-on-v6 { none; };
28	recursion no;
29	dnssec-validation no;
30	notify yes;
31	ixfr-from-differences primary;
32	check-integrity no;
33	tcp-idle-timeout 600;
34};
35
36zone "." {
37	type hint;
38	file "../../_common/root.hint";
39};
40
41zone "primary" {
42	type primary;
43	file "primary.db";
44};
45
46zone "secondary" {
47	type secondary;
48	notify no;
49	primaries { 10.53.0.1; };
50	file "sec.bk";
51};
52
53zone "edns-expire" {
54	type secondary;
55	primaries { 10.53.0.1; };
56	file "edns-expire.bk";
57};
58
59zone "axfr-max-transfer-time" {
60	type secondary;
61	max-transfer-time-in 1; # this is tested as seconds, when used with '-T transferinsecs'
62	primaries { 10.53.0.1; };
63	file "axfr-max-transfer-time.bk";
64};
65
66zone "axfr-max-idle-time" {
67	type secondary;
68	max-transfer-idle-in 50;  # this is tested as seconds, when used with '-T transferinsecs'
69	primaries { 10.53.0.1; };
70	file "axfr-max-idle-time.bk";
71};
72
73zone "axfr-too-big" {
74	type secondary;
75	max-records 30;
76	primaries { 10.53.0.1; };
77	file "axfr-too-big.bk";
78};
79
80zone "ixfr-too-big" {
81	type secondary;
82	max-records 30;
83	primaries { 10.53.0.1; };
84	file "ixfr-too-big.bk";
85};
86