named.conf.in revision 1.1.1.1
1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12controls { /* empty */ }; 13 14options { 15 query-source address 10.53.0.1; 16 notify-source 10.53.0.1; 17 transfer-source 10.53.0.1; 18 port 5300; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.1; }; 21 listen-on-v6 { none; }; 22 recursion no; 23 notify no; 24 tkey-domain "server"; 25 tkey-dhkey "server" KEYID; 26 allow-query-cache { any; }; 27 random-device "RANDFILE"; 28}; 29 30key rndc_key { 31 secret "1234abcd8765"; 32 algorithm hmac-sha256; 33}; 34 35controls { 36 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; }; 37}; 38 39key "tkeytest." { 40 algorithm hmac-md5; 41 secret "0123456789ab"; 42}; 43 44zone example { 45 type master; 46 file "example.db"; 47 allow-query { key tkeytest.; none; }; 48}; 49