Home | History | Annotate | Line # | Download | only in etc
named.conf revision 1.4.6.1
      1  1.4.6.1   skrll # $NetBSD: named.conf,v 1.4.6.1 2008/09/04 08:46:41 skrll 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.4  itojun 	allow-recursion { localhost; localnets; };
      9  1.4.6.1   skrll 
     10  1.4.6.1   skrll 	#
     11  1.4.6.1   skrll 	# This forces all queries to come from port 53; might be
     12  1.4.6.1   skrll 	# needed for firewall traversals but should be avoided if
     13  1.4.6.1   skrll 	# at all possible because of the risk of spoofing attacks.
     14  1.4.6.1   skrll 	#
     15  1.4.6.1   skrll 	#query-source address * port 53;
     16      1.1    tron };
     17      1.1    tron 
     18      1.1    tron zone "." {
     19      1.1    tron 	type hint;
     20      1.1    tron 	file "root.cache";
     21      1.1    tron };
     22      1.1    tron 
     23      1.1    tron zone "localhost" {
     24      1.1    tron 	type master;
     25      1.1    tron 	file "localhost";
     26      1.1    tron };
     27      1.1    tron 
     28      1.1    tron zone "127.IN-ADDR.ARPA" {
     29      1.1    tron 	type master;
     30      1.1    tron 	file "127";
     31      1.1    tron };
     32      1.1    tron 
     33      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" {
     34      1.1    tron 	type master;
     35      1.1    tron 	file "loopback.v6";
     36      1.1    tron };
     37      1.1    tron 
     38      1.1    tron # example secondary server config:
     39      1.1    tron #
     40      1.1    tron # zone "Berkeley.EDU" {
     41      1.1    tron # 	type slave;
     42      1.1    tron # 	file "berkeley.edu.cache";
     43      1.1    tron # 	masters {
     44      1.1    tron # 		128.32.130.11;
     45      1.1    tron # 		128.32.133.1;
     46      1.1    tron # 	};
     47      1.1    tron # };
     48      1.1    tron 
     49      1.1    tron # zone "32.128.IN-ADDR.ARPA" {
     50      1.1    tron # 	type slave;
     51      1.1    tron # 	file "128.32.cache";
     52      1.1    tron # 	masters {
     53      1.1    tron # 		128.32.130.11;
     54      1.1    tron # 		128.32.133.1;
     55      1.1    tron # 	};
     56      1.1    tron # };
     57      1.1    tron 
     58      1.1    tron # example primary server config:
     59      1.1    tron # 
     60      1.1    tron # zone "Berkeley.EDU" {
     61      1.1    tron # 	type master;
     62      1.1    tron # 	file "berkeley.edu";
     63      1.1    tron # };
     64      1.1    tron 
     65      1.1    tron # zone "32.128.IN-ADDR.ARPA" {
     66      1.1    tron # 	type master;
     67      1.1    tron # 	file "128.32";
     68      1.1    tron # };
     69