1/* 2 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") 3 * Copyright (C) 2000, 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,v 1.10 2007/06/19 23:47:05 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 yes; 32 33 sortlist { 34 { 10.53.0.1; // IF 10.53.0.1 35 { 36 !1.1.1.4; !1.1.1.2; !1.1.1.3; !1.1.1.1; // sort these last, 37 192.168.3/24; // this first 38 { 192.168.2/24; 192.168.1/24; }; }; }; // and these next 39 { { 10.53.0.2; 10.53.0.3; }; }; // Prefer self 40 10.53.0.4; // BIND 8 compat 41 { 10.53.0.5; 10.53.0.5; }; // BIND 8 compat 42 }; 43}; 44 45zone "." { 46 type master; 47 file "root.db"; 48}; 49 50zone "example" { 51 type master; 52 file "example.db"; 53}; 54