Difference between revisions of "BIND Configuration"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Minimal /etc/named.conf = options { directory "/var/named"; }; zone "cp.net" { type master; file "zd.cp.net"; }; zone "99.168.192.in-addr.arpa" { t…')
(No difference)

Revision as of 08:40, 27 January 2011

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"