Make your own free website on Tripod.com

BACK

named.conf

This an example of  the named.conf file located in the /etc directory for the fictional solarr.com domain.  This fictional domain uses the private IP address range of 192.168.1.XXX for its hosts.  /* Comments are blue */


/* /etc/named.conf

 * Authored by lxuser

 * created on 18 June 2000

 * uses 192.168.1.XXX  - the private IP range

 * domain - solarr.com

 */

// Defines the global options, can only be used once

options {

      directory "/var/named";   

      check-names master warn;

      pid-file "/var/run/named.pid";

      datasize default;

      stacksize default;

      coresize default;

      files unlimited;

      recursion yes;

      multiple-cnames yes;

      allow-transfer { ! * ; };

      allow-update { ! * ; };

      listen on port 53 { * ; };

};

// Defines the Root Name Servers

zone "." IN {

      type hint;

      file "root.hint";

};

// Used to identify the local loopback zone  

zone "localhost" IN {

      type master;

      file "localhost.zone";

      check-names fail;

      allow-update { none; };

};

// Reverse IP mapping for the localhost -allows for local communications

zone "0.0.127.in-addr.arpa" IN {

      type master;

      file "127.0.0.zone";

      check-names fail;

      allow-update { none; };

};

// For reverse IP mapping of the solarr.com zone

zone "1.168.192.in-addr.arpa" IN {

      type master;

      file "named.192.168.1";

};

// The master solarr.com zone

zone "solarr.com"  IN {

      type master;

      file "named.solarr.com";

};

BACK