1 1.2 rpaulo # $NetBSD: named.conf,v 1.2 2005/09/01 14:02:01 rpaulo Exp $ 2 1.1 tron 3 1.1 tron # boot file for secondary name server 4 1.1 tron # Note that there should be one primary entry for each SOA record. 5 1.1 tron 6 1.1 tron options { 7 1.1 tron directory "/etc/namedb"; 8 1.1 tron }; 9 1.1 tron 10 1.1 tron zone "." { 11 1.1 tron type hint; 12 1.1 tron file "root.cache"; 13 1.1 tron }; 14 1.1 tron 15 1.1 tron zone "localhost" { 16 1.1 tron type master; 17 1.1 tron file "localhost"; 18 1.1 tron }; 19 1.1 tron 20 1.1 tron zone "127.IN-ADDR.ARPA" { 21 1.1 tron type master; 22 1.1 tron file "127"; 23 1.1 tron }; 24 1.1 tron 25 1.1 tron zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" { 26 1.1 tron type master; 27 1.1 tron file "loopback.v6"; 28 1.1 tron }; 29 1.1 tron 30 1.1 tron # example secondary server config: 31 1.1 tron # 32 1.1 tron # zone "Berkeley.EDU" { 33 1.1 tron # type slave; 34 1.1 tron # file "berkeley.edu.cache"; 35 1.1 tron # masters { 36 1.1 tron # 128.32.130.11; 37 1.1 tron # 128.32.133.1; 38 1.1 tron # }; 39 1.1 tron # }; 40 1.1 tron 41 1.1 tron # zone "32.128.IN-ADDR.ARPA" { 42 1.1 tron # type slave; 43 1.1 tron # file "128.32.cache"; 44 1.1 tron # masters { 45 1.1 tron # 128.32.130.11; 46 1.1 tron # 128.32.133.1; 47 1.1 tron # }; 48 1.1 tron # }; 49 1.1 tron 50 1.1 tron # example primary server config: 51 1.1 tron # 52 1.1 tron # zone "Berkeley.EDU" { 53 1.1 tron # type master; 54 1.1 tron # file "berkeley.edu"; 55 1.1 tron # }; 56 1.1 tron 57 1.1 tron # zone "32.128.IN-ADDR.ARPA" { 58 1.1 tron # type master; 59 1.1 tron # file "128.32"; 60 1.1 tron # }; 61