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