named.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 12options { 13 query-source address 10.53.0.10; 14 notify-source 10.53.0.10; 15 transfer-source 10.53.0.10; 16 port @PORT@; 17 pid-file "named.pid"; 18 session-keyfile "session.key"; 19 listen-on { 10.53.0.10; }; 20 recursion no; 21 notify yes; 22 minimal-responses no; 23 @TKEY_CONFIGURATION@ 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm hmac-sha256; 29}; 30 31controls { 32 inet 10.53.0.10 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35zone "in-addr.arpa" { 36 type primary; 37 file "in-addr.db"; 38 update-policy { grant EXAMPLE.COM ms-subdomain . PTR; }; 39}; 40 41zone "example.com" { 42 type primary; 43 file "example.com.db"; 44 update-policy { 45 grant EXAMPLE.COM ms-selfsub . ANY; 46 grant EXAMPLE.COM ms-subdomain _tcp.example.com SRV; 47 }; 48}; 49