named2.conf.in revision 1.1.1.2
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 12include "../../common/rndc.key"; 13 14controls { 15 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 16}; 17 18 19options { 20 port @PORT@; 21 pid-file "named.pid"; 22 listen-on { 10.53.0.2; 10.53.0.4; }; 23 listen-on-v6 { none; }; 24 recursion no; 25}; 26 27view internal { 28 match-clients { 10.53.0.2; }; 29 allow-new-zones no; 30 recursion yes; 31 32 response-policy { zone "policy"; }; 33 34 zone "." { 35 type hint; 36 file "../../common/root.hint"; 37 }; 38 39 zone "policy" { 40 type primary; 41 file "normal.db"; 42 }; 43}; 44 45view external { 46 match-clients { any; }; 47 allow-new-zones yes; 48 49 zone "." { 50 type hint; 51 file "../../common/root.hint"; 52 }; 53}; 54 55# This view is only here to test that configuration context is cleaned 56# up correctly when using multiple named ACLs (regression test for RT #22739) 57acl match { none; }; 58acl nobody { none; }; 59view extra { 60 match-clients { match; }; 61 allow-new-zones yes; 62 allow-transfer { nobody; }; 63 allow-query { nobody; }; 64 allow-recursion { nobody; }; 65}; 66