[BACK]Return to named.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Annotation of src/etc/named.conf, Revision 1.5

1.5     ! dholland    1: # $NetBSD: named.conf,v 1.4 2006/03/23 13:50:44 itojun Exp $
1.1       tron        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";
1.4       itojun      8:        allow-recursion { localhost; localnets; };
1.5     ! dholland    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;
1.1       tron       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: # };

CVSweb <webmaster@jp.NetBSD.org>