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 14key rndc_key { 15 secret "1234abcd8765"; 16 algorithm hmac-sha256; 17}; 18 19controls { 20 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 21}; 22 23include "trusted.conf"; 24 25options { 26 query-source address 10.53.0.2; 27 notify-source 10.53.0.2; 28 transfer-source 10.53.0.2; 29 port @PORT@; 30 pid-file "named.pid"; 31 listen-on { 10.53.0.2; }; 32 listen-on-v6 { none; }; 33 recursion yes; 34 dnssec-validation yes; 35 notify no; 36}; 37 38zone "." { 39 type hint; 40 file "../../common/root.hint"; 41}; 42 43zone "example" { 44 type static-stub; 45 server-addresses { 10.53.0.3; }; 46 allow-query { !10.53.0.7; any; }; 47}; 48 49zone "example.org" { 50 type static-stub; 51 SERVER_CONFIG_PLACEHOLDER 52}; 53 54zone "example.info" { 55 type static-stub; 56 server-addresses { ::1; }; #ns4 57}; 58 59zone "undelegated" { 60 type static-stub; 61 server-addresses { 10.53.0.3; }; 62}; 63