named.conf.in revision 1.1.1.5
1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * SPDX-License-Identifier: MPL-2.0 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14options { 15 query-source address 10.53.0.10; 16 notify-source 10.53.0.10; 17 transfer-source 10.53.0.10; 18 port @PORT@; 19 pid-file "named.pid"; 20 session-keyfile "session.key"; 21 listen-on { 10.53.0.10; }; 22 recursion no; 23 notify yes; 24 minimal-responses no; 25 dnssec-validation no; 26 @TKEY_CONFIGURATION@ 27}; 28 29key rndc_key { 30 secret "1234abcd8765"; 31 algorithm @DEFAULT_HMAC@; 32}; 33 34controls { 35 inet 10.53.0.10 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 36}; 37 38zone "in-addr.arpa" { 39 type primary; 40 file "in-addr.db"; 41 update-policy { grant EXAMPLE.COM ms-subdomain-self-rhs . PTR; }; 42}; 43 44zone "example.com" { 45 type primary; 46 file "example.com.db"; 47 update-policy { 48 grant EXAMPLE.COM ms-selfsub . ANY; 49 grant EXAMPLE.COM ms-subdomain _tcp.example.com SRV; 50 grant EXAMPLE.COM ms-subdomain-self-rhs self-srv.example.com SRV; 51 }; 52}; 53