Web Hosting Talk







View Full Version : Include files in /etc/named.conf


Skeptical
05-07-2002, 03:24 AM
I am running Bind 9 on RedHat Linux 7.1 and would like to add an include file into named.conf. Is this possible? And if so what is the syntax? Thanks.

Skeptical
05-17-2002, 10:49 AM
Help?

tpetersen
04-10-2004, 03:43 PM
include "file-name";

'file-name' can be an absolute path e.g. /var/named/file.name or relative e.g. file.name in which case it will be assumed to be in the directory previously nominated by an 'option' directory statement. In the absence of a 'directory' option the directory from which bind was loaded is used.

The 'include' statement may be used for three purposes:

To simplify or distribute administration of bind file creation e.g. a zone files may be administered independently by divisions of a company.
To isolate and partition changes and updates e.g. if acl lists change frequently it may be desirable to separate them into files which can be included, minimising the need to edit the primary named.conf file.
Security - it may be desirable to limit access using permissions to files containing for examplekey or trusted-keys records by applying permissions which only allow root or 'named' users to view/edit them.