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