summaryrefslogtreecommitdiffstats
path: root/bin/tests/system/forward/ns1/named.conf.in
blob: f871fd6b29260fd9328d3afc745c6c55b00806a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
 *
 * SPDX-License-Identifier: MPL-2.0
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0.  If a copy of the MPL was not distributed with this
 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * See the COPYRIGHT file distributed with this work for additional
 * information regarding copyright ownership.
 */

options {
	query-source address 10.53.0.1;
	query-source-v6 address fd92:7065:b8e:ffff::1;
	notify-source 10.53.0.1;
	notify-source-v6 fd92:7065:b8e:ffff::1;
	transfer-source 10.53.0.1;
	transfer-source-v6 fd92:7065:b8e:ffff::1;
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.1; };
	listen-on-v6 { fd92:7065:b8e:ffff::1; };
	recursion no;
	dnssec-validation no;
};

zone "." {
	type primary;
	file "root.db.signed";
};

zone "example1." {
	type primary;
	file "example.db";
};

zone "example2." {
	type primary;
	file "example.db";
};

zone "example3." {
	type primary;
	file "example.db";
};

zone "example4." {
	type primary;
	file "example.db";
};

zone "example5." {
	type primary;
	file "example.db";
};

zone "sld.tld" {
	type primary;
	file "sld.tld.db";
};

/* A forward zone without forwarders. */
zone "example6" {
	type forward;
};

zone "diditwork.net" {
	type primary;
	file "diditwork.net.db";
};

zone "spoofed.net" {
	type primary;
	file "spoofed.net.db";
};

zone "sub.local.net" {
	type primary;
	file "sub.local.net.db";
};

zone "net.example.lll" {
	type master;
	file "net.example.lll";
};