1 1.1 tron # $NetBSD: named.conf,v 1.1 2005/08/30 10:58:33 tron 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.int" { 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 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.1 tron type master; 32 1.1 tron file "loopback.v6"; 33 1.1 tron }; 34 1.1 tron 35 1.1 tron # example secondary server config: 36 1.1 tron # 37 1.1 tron # zone "Berkeley.EDU" { 38 1.1 tron # type slave; 39 1.1 tron # file "berkeley.edu.cache"; 40 1.1 tron # masters { 41 1.1 tron # 128.32.130.11; 42 1.1 tron # 128.32.133.1; 43 1.1 tron # }; 44 1.1 tron # }; 45 1.1 tron 46 1.1 tron # zone "32.128.IN-ADDR.ARPA" { 47 1.1 tron # type slave; 48 1.1 tron # file "128.32.cache"; 49 1.1 tron # masters { 50 1.1 tron # 128.32.130.11; 51 1.1 tron # 128.32.133.1; 52 1.1 tron # }; 53 1.1 tron # }; 54 1.1 tron 55 1.1 tron # example primary server config: 56 1.1 tron # 57 1.1 tron # zone "Berkeley.EDU" { 58 1.1 tron # type master; 59 1.1 tron # file "berkeley.edu"; 60 1.1 tron # }; 61 1.1 tron 62 1.1 tron # zone "32.128.IN-ADDR.ARPA" { 63 1.1 tron # type master; 64 1.1 tron # file "128.32"; 65 1.1 tron # }; 66