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 14options { 15 query-source address 10.53.0.2; 16 notify-source 10.53.0.2; 17 transfer-source 10.53.0.2; 18 port @PORT@; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.2; }; 21 listen-on-v6 { none; }; 22 recursion yes; 23 dnssec-validation yes; 24 notify yes; 25}; 26 27statistics-channels { 28 inet 10.53.0.2 port @EXTRAPORT1@ allow { any; }; 29}; 30 31key rndc_key { 32 secret "1234abcd8765"; 33 algorithm hmac-sha256; 34}; 35 36controls { 37 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 38}; 39 40 41zone "." { 42 type hint; 43 file "../../common/root.hint"; 44}; 45 46zone "example" { 47 type primary; 48 file "example.db"; 49 allow-update { any; }; 50}; 51