named1.conf.in revision 1.1.1.2
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 algorithm hmac-sha256; 16 secret "1234abcd8765"; 17}; 18 19controls { 20 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 21}; 22 23options { 24 query-source address 10.53.0.1 dscp 1; 25 notify-source 10.53.0.1 dscp 2; 26 transfer-source 10.53.0.1 dscp 3; 27 port @PORT@; 28 pid-file "named.pid"; 29 listen-on { 10.53.0.1; }; 30 listen-on-v6 { none; }; 31 recursion yes; 32 deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; } 33 except-from { "example.org"; }; 34 deny-answer-aliases { "example.org"; } 35 except-from { "goodcname.example.net"; 36 "gooddname.example.net"; }; 37 allow-query {!10.53.0.8; any; }; 38}; 39 40zone "." { 41 type hint; 42 file "root.hint"; 43}; 44 45include "rfc1918.zones"; 46