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-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Ejaz Sent: Wednesday, December 23, 2015 11:45 PM To: bind-users@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";
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users