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 14// NS4 15 16options { 17 query-source address 10.53.0.4; 18 notify-source 10.53.0.4; 19 transfer-source 10.53.0.4; 20 port @PORT@; 21 pid-file "named.pid"; 22 listen-on { 10.53.0.4; }; 23 listen-on-v6 { none; }; 24 recursion yes; 25 notify no; 26 dnssec-validation auto; 27 bindkeys-file "managed.conf"; 28 managed-keys-directory "nope"; 29}; 30 31key rndc_key { 32 secret "1234abcd8765"; 33 algorithm @DEFAULT_HMAC@; 34}; 35 36controls { 37 inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 38}; 39 40zone "." { 41 type hint; 42 file "../../_common/root.hint"; 43}; 44 45zone "sub.foo" { 46 type primary; 47 file "sub.foo.db.signed"; 48}; 49