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.3; 16 notify-source 10.53.0.3; 17 transfer-source 10.53.0.3; 18 port @PORT@; 19 directory "."; 20 pid-file "named.pid"; 21 listen-on { 10.53.0.3; }; 22 listen-on-v6 { none; }; 23 recursion yes; 24 dnssec-validation yes; 25 notify yes; 26 qname-minimization disabled; 27 zone-statistics yes; 28}; 29 30statistics-channels { 31 inet 10.53.0.3 port @EXTRAPORT1@ allow { any; }; 32}; 33 34key rndc_key { 35 secret "1234abcd8765"; 36 algorithm @DEFAULT_HMAC@; 37}; 38 39controls { 40 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 41}; 42 43zone "." { 44 type hint; 45 file "root.hint"; 46}; 47 48zone "example" { 49 type primary; 50 allow-update { any; }; 51 file "internal.db"; 52}; 53 54zone "a-secondary" { 55 type secondary; 56 file "sec.bk"; 57 primaries { 10.53.0.1; }; 58}; 59