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