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 14controls { /* empty */ }; 15 16options { 17 query-source address 10.53.0.1; 18 notify-source 10.53.0.1; 19 transfer-source 10.53.0.1; 20 port 5300; 21 pid-file "named.pid"; 22 listen-on { 10.53.0.1; }; 23 listen-on-v6 { none; }; 24 recursion no; 25 notify no; 26 tkey-domain "server"; 27 tkey-dhkey "server" KEYID; 28 allow-query-cache { any; }; 29}; 30 31key rndc_key { 32 secret "1234abcd8765"; 33 algorithm hmac-sha256; 34}; 35 36controls { 37 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; }; 38}; 39 40key "tkeytest." { 41 algorithm hmac-md5; 42 secret "0123456789ab"; 43}; 44 45zone example { 46 type primary; 47 file "example.db"; 48 allow-query { key tkeytest.; none; }; 49}; 50