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 one { 15 algorithm hmac-md5; 16 secret "1234abcd8765"; 17}; 18 19options { 20 port @PORT@; 21 pid-file "named.pid"; 22 listen-on { 10.53.0.2; }; 23 listen-on-v6 { none; }; 24 recursion no; 25 dnssec-validation no; 26}; 27 28include "controls.conf"; 29 30view "internal" { 31 32 allow-query {! key one; }; 33 34 zone "." { 35 type hint; 36 file "../../_common/root.hint"; 37 }; 38 39 zone "normal.example" { 40 type primary; 41 file "generic.db"; 42 }; 43}; 44