multiple-Directories

John W. Blue john.blue at rrcic.com
Thu Dec 24 06:16:39 UTC 2015


options {
        listen-on port 53 { 1.1.1.1; };
        listen-on-v6 port 53 { ::1; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
};

Include "/var/ejaz/named/vip_zone";

the "vip_zone" file will contain:

zone "example1.com" {type master; file "var/ejaz/named/data/example1.com.db";};
zone "example2.com" {type master; file "var/ejaz/named/data/example2.com.db";};
zone "example3.com" {type master; file "var/ejaz/named/data/example3.com.db";};


From: bind-users-bounces at lists.isc.org [mailto:bind-users-bounces at lists.isc.org] On Behalf Of Ejaz
Sent: Wednesday, December 23, 2015 11:45 PM
To: bind-users at lists.isc.org
Subject: RE: multiple-Directories


Dear all.

Is there any way where I can configure multiple directories for the zone files, Default one is /var/named/ or /var/named/chroot/var/named.

On top I wanted to have one more additional  directory location where I can keep the zones file for VIP  customer   on separate location..

In the option section I have tried to give  additional directory as below, but it didn't worked for me, after that I can't able to start named service.

options {
        listen-on port 53 { 1.1.1.1; };
        listen-on-v6 port 53 { ::1; };
        directory       "/var/named"; "/var/ejaz/named";
        dump-file       "/var/named/data/cache_dump.db";


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20151224/3b933a65/attachment.html>


More information about the bind-users mailing list