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