1/* 2 * Copyright (C) 2004, 2006, 2007, 2011, 2013 Internet Systems Consortium, Inc. ("ISC") 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14 * PERFORMANCE OF THIS SOFTWARE. 15 */ 16 17/* Id: named.conf,v 1.10 2011/05/26 23:47:28 tbox Exp */ 18 19/* 20 * Choose a keyname that is unlikely to clash with any real key names. 21 * This allows it to be added to the system's rndc.conf with minimal 22 * likelyhood of collision. 23 * 24 * e.g. 25 * key "cc64b3d1db63fc88d7cb5d2f9f57d258" { 26 * algorithm hmac-sha256; 27 * secret "34f88008d07deabbe65bd01f1d233d47"; 28 * }; 29 * 30 * server "10.53.0.5" { 31 * key cc64b3d1db63fc88d7cb5d2f9f57d258; 32 * port 5353; 33 * }; 34 * 35 * rndc -s 10.53.0.5 <command> 36 */ 37 38key "cc64b3d1db63fc88d7cb5d2f9f57d258" { 39 algorithm hmac-sha256; 40 secret "34f88008d07deabbe65bd01f1d233d47"; 41}; 42 43controls { 44 inet 10.53.0.5 port 5353 allow { any; } 45 keys { cc64b3d1db63fc88d7cb5d2f9f57d258; }; 46}; 47 48include "trusted.conf"; 49include "trusted-dlv.conf"; 50 51options { 52 query-source address 10.53.0.5; 53 notify-source 10.53.0.5; 54 transfer-source 10.53.0.5; 55 port 5300; 56 pid-file "named.pid"; 57 listen-on { 10.53.0.5; }; 58 listen-on-v6 { none; }; 59 recursion yes; 60 acache-enable yes; 61 notify yes; 62 dnssec-enable yes; 63 dnssec-validation yes; 64 dnssec-lookaside "." trust-anchor "dlv.utld"; 65}; 66 67zone "." { type hint; file "hints"; }; 68