named3.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 12include "../../common/rndc.key"; 13 14controls { 15 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 16}; 17 18options { 19 port @PORT@; 20 pid-file "named.pid"; 21 listen-on { 10.53.0.2; 10.53.0.4; 10.53.0.5; }; 22 listen-on-v6 { none; }; 23 recursion no; 24 new-zones-directory "new-zones"; 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 master; 41 file "normal.db"; 42 }; 43}; 44 45view directory { 46 match-clients { 10.53.0.5; }; 47 allow-new-zones yes; 48 49 zone "." { 50 type hint; 51 file "../../common/root.hint"; 52 }; 53}; 54 55view external { 56 match-clients { any; }; 57 allow-new-zones yes; 58 59 zone "." { 60 type hint; 61 file "../../common/root.hint"; 62 }; 63}; 64 65# This view is only here to test that configuration context is cleaned 66# up correctly when using multiple named ACLs (regression test for RT #22739) 67acl match { none; }; 68acl nobody { none; }; 69view extra { 70 match-clients { match; }; 71 allow-new-zones yes; 72 allow-transfer { nobody; }; 73 allow-query { nobody; }; 74 allow-recursion { nobody; }; 75}; 76