named.conf.in revision 1.1.1.4
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 14include "../../common/rndc.key"; 15 16controls { 17 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 18}; 19 20options { 21 query-source address 10.53.0.1; 22 notify-source 10.53.0.1; 23 transfer-source 10.53.0.1; 24 port @PORT@; 25 allow-new-zones yes; 26 pid-file "named.pid"; 27 listen-on { 10.53.0.1; }; 28 listen-on port @EXTRAPORT1@ { 10.53.0.1; }; 29 listen-on-v6 { none; }; 30 notify no; 31 recursion no; 32 allow-transfer { any; }; 33}; 34 35zone "catalog1.example" { 36 type primary; 37 file "catalog1.example.db"; 38 allow-transfer { any; }; 39 allow-update { any; }; 40 also-notify { 10.53.0.2; }; 41 notify explicit; 42}; 43 44zone "catalog3.example" { 45 type primary; 46 file "catalog3.example.db"; 47 allow-transfer { any; }; 48 allow-update { any; }; 49 also-notify { 10.53.0.2; }; 50 notify explicit; 51}; 52 53zone "catalog4.example" { 54 type primary; 55 file "catalog4.example.db"; 56 allow-transfer { any; }; 57 allow-update { any; }; 58 also-notify { 10.53.0.2; }; 59 notify explicit; 60}; 61 62/* catalog5 is missing on purpose */ 63 64key tsig_key. { 65 secret "LSAnCU+Z"; 66 algorithm @DEFAULT_HMAC@; 67}; 68 69key next_key. { 70 secret "LaAnCU+Z"; 71 algorithm @DEFAULT_HMAC@; 72}; 73