home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110502.etc.tar.gz / bradford.20110502.etc.tar / etc / named.conf.20081023090127OURCE < prev    next >
Text File  |  2008-08-23  |  4KB  |  134 lines

  1. # Copyright (c) 2001-2004 SuSE Linux AG, Nuernberg, Germany.
  2. # All rights reserved.
  3. #
  4. # Author: Frank Bodammer, Lars Mueller <lmuelle@suse.de>
  5. #
  6. # /etc/named.conf
  7. #
  8. # This is a sample configuration file for the name server BIND 9.  It works as
  9. # a caching only name server without modification.
  10. #
  11. # A sample configuration for setting up your own domain can be found in
  12. # /usr/share/doc/packages/bind/sample-config.
  13. #
  14. # A description of all available options can be found in
  15. # /usr/share/doc/packages/bind/misc/options.
  16.  
  17. options {
  18.  
  19.     # The directory statement defines the name server's working directory
  20.  
  21.     directory "/var/lib/named";
  22.  
  23.     # Write dump and statistics file to the log subdirectory.  The
  24.     # pathenames are relative to the chroot jail.
  25.  
  26.     dump-file "/var/log/named_dump.db";
  27.     statistics-file "/var/log/named.stats";
  28.  
  29.     # The forwarders record contains a list of servers to which queries
  30.     # should be forwarded.  Enable this line and modify the IP address to
  31.     # your provider's name server.  Up to three servers may be listed.
  32.  
  33.     #forwarders { 192.0.2.1; 192.0.2.2; };
  34.  
  35.     # Enable the next entry to prefer usage of the name server declared in
  36.     # the forwarders section.
  37.  
  38.     #forward first;
  39.  
  40.     # The listen-on record contains a list of local network interfaces to
  41.     # listen on.  Optionally the port can be specified.  Default is to
  42.     # listen on all interfaces found on your system.  The default port is
  43.     # 53.
  44.  
  45.     #listen-on port 53 { 127.0.0.1; };
  46.  
  47.     # The listen-on-v6 record enables or disables listening on IPv6
  48.     # interfaces.  Allowed values are 'any' and 'none' or a list of
  49.     # addresses.
  50.  
  51.     listen-on-v6 { any; };
  52.  
  53.     # The next three statements may be needed if a firewall stands between
  54.     # the local server and the internet.
  55.  
  56.     #query-source address * port 53;
  57.     #transfer-source * port 53;
  58.     #notify-source * port 53;
  59.  
  60.     # The allow-query record contains a list of networks or IP addresses
  61.     # to accept and deny queries from. The default is to allow queries
  62.     # from all hosts.
  63.  
  64.     #allow-query { 127.0.0.1; };
  65.  
  66.     # If notify is set to yes (default), notify messages are sent to other
  67.     # name servers when the the zone data is changed.  Instead of setting
  68.     # a global 'notify' statement in the 'options' section, a separate
  69.     # 'notify' can be added to each zone definition.
  70.  
  71.     notify no;
  72. };
  73.  
  74. # To configure named's logging remove the leading '#' characters of the
  75. # following examples.
  76. #logging {
  77. #    # Log queries to a file limited to a size of 100 MB.
  78. #    channel query_logging {
  79. #        file "/var/log/named_querylog"
  80. #            versions 3 size 100M;
  81. #        print-time yes;            // timestamp log entries
  82. #    };
  83. #    category queries {
  84. #        query_logging;
  85. #    };
  86. #
  87. #    # Or log this kind alternatively to syslog.
  88. #    channel syslog_queries {
  89. #        syslog user;
  90. #        severity info;
  91. #    };
  92. #    category queries { syslog_queries; };
  93. #
  94. #    # Log general name server errors to syslog.
  95. #    channel syslog_errors {
  96. #        syslog user;
  97. #        severity error;
  98. #    };
  99. #    category default { syslog_errors;  };
  100. #
  101. #    # Don't log lame server messages.
  102. #    category lame-servers { null; };
  103. #};
  104.  
  105. # The following zone definitions don't need any modification.  The first one
  106. # is the definition of the root name servers.  The second one defines
  107. # localhost while the third defines the reverse lookup for localhost.
  108.  
  109. zone "." in {
  110.     type hint;
  111.     file "root.hint";
  112. };
  113.  
  114. zone "localhost" in {
  115.     type master;
  116.     file "localhost.zone";
  117. };
  118.  
  119. zone "0.0.127.in-addr.arpa" in {
  120.     type master;
  121.     file "127.0.0.zone";
  122. };
  123.  
  124. # Include the meta include file generated by createNamedConfInclude.  This
  125. # includes all files as configured in NAMED_CONF_INCLUDE_FILES from
  126. # /etc/sysconfig/named
  127.  
  128. include "/etc/named.conf.include";
  129.  
  130. # You can insert further zone records for your own domains below or create
  131. # single files in /etc/named.d/ and add the file names to
  132. # NAMED_CONF_INCLUDE_FILES.
  133. # See /usr/share/doc/packages/bind/README.SUSE for more details.
  134.