xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/checknames/ns1/named.conf.in (revision 7bdf38e5b7a28439665f2fdeff81e36913eef7dd)
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.1;
16	notify-source 10.53.0.1;
17	transfer-source 10.53.0.1;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.1; };
21	listen-on-v6 { none; };
22	recursion no;
23	dnssec-validation no;
24	notify yes;
25	check-integrity no;
26};
27
28zone "." {
29	type primary;
30	file "root.db";
31};
32
33zone "ignore.example" {
34	type primary;
35	file "ignore.example.db";
36	check-names ignore;
37};
38
39zone "warn.example" {
40	type primary;
41	file "warn.example.db";
42	check-names warn;
43};
44
45zone "fail.example" {
46	type primary;
47	file "fail.example.db";
48	check-names fail;
49};
50
51zone "ignore.update" {
52	type primary;
53	file "ignore.update.db";
54	allow-update { any; };
55	check-names ignore;
56};
57
58zone "warn.update" {
59	type primary;
60	file "warn.update.db";
61	allow-update { any; };
62	check-names warn;
63};
64
65zone "fail.update" {
66	type primary;
67	file "fail.update.db";
68	allow-update { any; };
69	check-names fail;
70};
71