named1.conf.in revision 1.1.1.1
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12options {
13	query-source address 10.53.0.3;
14	notify-source 10.53.0.3;
15	transfer-source 10.53.0.3;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.3; };
19	listen-on-v6 { none; };
20	forwarders { 10.53.0.2; };
21	forward first;
22	dnssec-validation yes;
23};
24
25key rndc_key {
26	secret "1234abcd8765";
27	algorithm hmac-sha256;
28};
29
30controls {
31	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
32};
33
34zone "." {
35	type hint;
36	file "root.db";
37};
38
39zone "example1." {
40	type forward;
41	forward first;
42	forwarders { 10.53.0.2; };
43};
44
45zone "example2." {
46	type forward;
47	forward first;
48	forwarders { };
49};
50
51zone "example3." {
52	type forward;
53	forward only;
54	forwarders { };
55};
56
57zone "example7." {
58	type forward;
59	forward first;
60	forwarders { 10.53.0.6; };
61};
62