named.conf.in revision 1.1.1.4
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
14// NS1
15
16options {
17	pid-file "named.pid";
18	listen-on port @PORT@ { 10.53.0.1; };
19	port @PORT@;
20	listen-on-v6 { none; };
21	recursion no;
22	notify no;
23	session-keyfile "session.key";
24	servfail-ttl 0;
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
36zone "example" {
37	type primary;
38	masterfile-format raw;
39	file "example.db.raw";
40};
41
42zone "compat-example" {
43	type primary;
44	masterfile-format raw;
45	file "example.db.compat";
46};
47
48zone "transfer1" {
49	type primary;
50	file "example.db";
51	allow-transfer { any; };
52};
53
54zone "transfer2" {
55	type primary;
56	file "example.db";
57	allow-transfer { any; };
58};
59
60zone "transfer3" {
61	type primary;
62	file "example.db";
63	allow-transfer { any; };
64};
65
66zone "transfer4" {
67	type primary;
68	file "example.db";
69	allow-transfer { any; };
70};
71
72
73zone "large" {
74	type primary;
75	file "large.db.raw";
76	masterfile-format raw;
77	allow-transfer { any; };
78};
79
80zone "signed" {
81	type primary;
82	file "signed.db.map";
83	masterfile-format map;
84	allow-transfer { any; };
85	update-policy local;
86	auto-dnssec maintain;
87};
88