Home | History | Annotate | Line # | Download | only in etc
named.conf revision 1.4
      1  1.4    itojun # $NetBSD: named.conf,v 1.4 2006/03/23 13:50:44 itojun 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.3  christos 	query-source address * port 53;
      9  1.4    itojun 	allow-recursion { localhost; localnets; };
     10  1.1      tron };
     11  1.1      tron 
     12  1.1      tron zone "." {
     13  1.1      tron 	type hint;
     14  1.1      tron 	file "root.cache";
     15  1.1      tron };
     16  1.1      tron 
     17  1.1      tron zone "localhost" {
     18  1.1      tron 	type master;
     19  1.1      tron 	file "localhost";
     20  1.1      tron };
     21  1.1      tron 
     22  1.1      tron zone "127.IN-ADDR.ARPA" {
     23  1.1      tron 	type master;
     24  1.1      tron 	file "127";
     25  1.1      tron };
     26  1.1      tron 
     27  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" {
     28  1.1      tron 	type master;
     29  1.1      tron 	file "loopback.v6";
     30  1.1      tron };
     31  1.1      tron 
     32  1.1      tron # example secondary server config:
     33  1.1      tron #
     34  1.1      tron # zone "Berkeley.EDU" {
     35  1.1      tron # 	type slave;
     36  1.1      tron # 	file "berkeley.edu.cache";
     37  1.1      tron # 	masters {
     38  1.1      tron # 		128.32.130.11;
     39  1.1      tron # 		128.32.133.1;
     40  1.1      tron # 	};
     41  1.1      tron # };
     42  1.1      tron 
     43  1.1      tron # zone "32.128.IN-ADDR.ARPA" {
     44  1.1      tron # 	type slave;
     45  1.1      tron # 	file "128.32.cache";
     46  1.1      tron # 	masters {
     47  1.1      tron # 		128.32.130.11;
     48  1.1      tron # 		128.32.133.1;
     49  1.1      tron # 	};
     50  1.1      tron # };
     51  1.1      tron 
     52  1.1      tron # example primary server config:
     53  1.1      tron # 
     54  1.1      tron # zone "Berkeley.EDU" {
     55  1.1      tron # 	type master;
     56  1.1      tron # 	file "berkeley.edu";
     57  1.1      tron # };
     58  1.1      tron 
     59  1.1      tron # zone "32.128.IN-ADDR.ARPA" {
     60  1.1      tron # 	type master;
     61  1.1      tron # 	file "128.32";
     62  1.1      tron # };
     63