named2.conf.in revision 1.1.1.3
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 12// NS1 13 14acl allowed { 15 ! 10.53.0.5; 16 any; 17}; 18 19options { 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1; 23 port @PORT@; 24 pid-file "named.pid"; 25 listen-on { 10.53.0.1; }; 26 listen-on-v6 { none; }; 27 recursion no; 28 notify no; 29 dnssec-validation yes; 30 allow-query { allowed; }; 31}; 32 33key rndc_key { 34 secret "1234abcd8765"; 35 algorithm hmac-sha256; 36}; 37 38controls { 39 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 40}; 41 42zone "." { 43 type primary; 44 file "root.db.signed"; 45}; 46