named
working directory (/var/named/
) by default. Each zone file is named according to the file
option data in the zone
statement, usually in a way that relates to the domain in question and identifies the file as containing zone data, such as example.com.zone
.
bind-chroot
package, the BIND service will run in the /var/named/chroot
environment. All configuration files will be moved there. As such, you can find the zone files in /var/named/chroot/var/named
.
;
) in zone files.
$
) followed by the name of the directive. They usually appear at the top of the zone file.
$INCLUDE
named
to include another zone file in this zone file at the place where the directive appears. This allows additional zone settings to be stored apart from the main zone file.
$ORIGIN
$ORIGIN example.com.
.
) are appended with example.com
.
$ORIGIN
directive is unnecessary if the zone is specified in /etc/named.conf
because the zone name is used as the value for the $ORIGIN
directive by default.
$TTL