Re: Re: need help parsing named.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> and "the named.conf" looks like.....?

options {

    # The directory statement defines the name server's working directory

    directory "/var/lib/named";

    # Write dump and statistics file to the log subdirectory.  The
    # pathenames are relative to the chroot jail.

    dump-file "/var/log/named_dump.db";
    statistics-file "/var/log/named.stats";

    # The forwarders record contains a list of servers to which queries
    # should be forwarded.  Enable this line and modify the IP address to
    # your provider's name server.  Up to three servers may be listed.

    forwarders { 192.0.2.1; 192.0.2.2; };

    # Enable the next entry to prefer usage of the name server declared in
    # the forwarders section.

    #forward first;

    notify no;
};

# To configure named's logging remove the leading '#' characters of the
# following examples.
#logging {
#   # Log queries to a file limited to a size of 100 MB.
#   channel query_logging {
#       file "/var/log/named_querylog"
#           versions 3 size 100M;
#       print-time yes;         // timestamp log entries
#   };
#   category queries {
#       query_logging;
#   };
#
#   # Or log this kind alternatively to syslog.
#   channel syslog_queries {
#       syslog user;
#       severity info;
#   };
#   category queries { syslog_queries; };
#
#   # Log general name server errors to syslog.
#   channel syslog_errors {
#       syslog user;
#       severity error;
#   };
#   category default { syslog_errors;  };
#
#   # Don't log lame server messages.
#   category lame-servers { null; };
#};

# The following zone definitions don't need any modification.  The first one
# is the definition of the root name servers.  The second one defines
# localhost while the third defines the reverse lookup for localhost.

zone "." in {
    type hint;
    file "root.hint";
};

zone "localhost" in {
    type master;
    file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
    type master;
    file "127.0.0.zone";
};

BR/Torsten

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux