Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

NAMED configuration file named.conf

&pagelevel(5)&pagelevel

The operation of the DNS name server daemon is controlled by means of the configuration file /etc/named.conf. The syntax of the configuration file named.conf is described in the “BIND9 Administrator Reference Manual” of the Internet Software Consortium.


Example: Structure of a named.conf file

options {
   directory "/var/named";
};
logging {
   channel my_security_channel {file "my_security_file"; severity info; };
   category security { my_security_channel; default syslog; };
   category cname { null; };
};
zone "test1.mch.fj.example" IN {
   type master;
   file "masterzone";
};
zone "test2.mch.fj.example" IN {
   type slave;
   file "slavezone";
   masters { 155.90.80.1; };
};
zone "." in {
   type hint;
   file "named.cache";
};
zone "60.155.in-addr.arpa" IN {
   type master;
   file "arpafile";
};
zone "0.0.127.in-addr.arpa" in {
   type master;
   file "loopback";
};