Open main menu

CDOT Wiki β

BIND Configuration

Revision as of 08:40, 27 January 2011 by Cheping (talk | contribs) (Minimal /etc/named.conf)

Minimal /etc/named.conf

options {
    directory "/var/named";
};

zone "cp.net" {
    type master;
    file "zd.cp.net";
};

zone "99.168.192.in-addr.arpa" {
    type master;
    file "zd.192.168.99";
};
  • The "directory" directive in the options statement tells BIND where to find the files defined in each zone statement. There are many more options that can be used to control the behaviour of the BIND server.
  • This configuration file defines two zones, the forward looking zone "cp.net" and reverse lookup zone - for mapping IP address to FQDN - "99.168.192.in-addr.arpa"