named2.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
12key rndc_key {
13	algorithm       hmac-sha256;
14	secret          "1234abcd8765";
15};
16
17controls {
18	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
19};
20
21options {
22	query-source address 10.53.0.1 dscp 1;
23	notify-source 10.53.0.1 dscp 2;
24	transfer-source 10.53.0.1 dscp 3;
25	port @PORT@;
26	pid-file "named.pid";
27	listen-on { 10.53.0.1; };
28	listen-on-v6 { none; };
29	recursion yes;
30	deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
31		 except-from { "example.org"; };
32	deny-answer-aliases { "example.org"; }
33		except-from { "goodcname.example.net";
34			      "gooddname.example.net"; };
35	allow-query {!10.53.0.8; any; };
36	allow-transfer { none; };
37};
38
39zone "." {
40	type hint;
41	file "root.hint";
42};
43
44zone "1.10.in-addr.arpa" {
45	type master; file "empty.db";
46};
47