1/* 2 * Copyright (C) 2004, 2007, 2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC") 3 * Copyright (C) 2001 Internet Software Consortium. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 * PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18/* Id: named.conf.in,v 1.10 2011/11/03 23:46:26 tbox Exp */ 19 20controls { /* empty */ }; 21 22options { 23 query-source address 10.53.0.1; 24 notify-source 10.53.0.1; 25 transfer-source 10.53.0.1; 26 port 5300; 27 pid-file "named.pid"; 28 listen-on { 10.53.0.1; }; 29 listen-on-v6 { none; }; 30 recursion no; 31 notify no; 32 tkey-domain "server"; 33 tkey-dhkey "server" KEYID; 34 allow-query-cache { any; }; 35 random-device "RANDFILE"; 36}; 37 38key rndc_key { 39 secret "1234abcd8765"; 40 algorithm hmac-sha256; 41}; 42 43controls { 44 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; }; 45}; 46 47key "tkeytest." { 48 algorithm hmac-md5; 49 secret "0123456789ab"; 50}; 51 52zone example { 53 type master; 54 file "example.db"; 55 allow-query { key tkeytest.; none; }; 56}; 57