specify alternate directory for zone files?

jeff donovan jdonovan at dns.beth.k12.pa.us
Thu Sep 5 12:27:17 UTC 2002


Greetings

I was wondering if it was possible to specify an alternate directory 
for my zone files

eg

options {
	directory "/var/namedb";
};

zone "." {
	type hint;
	file "root.cache";
};
zone "my.zone.com" {
	type master;
	file "zone.com.db";
};

zone "249.249.192.in-addr.arpa" {
	type master;
	file "/var/namedb/otherdir/db.192.249.249";
};

zone "253.253.192.in-addr.arpa" {
	type master;
	file "/var/namedb/somedir/db.192.253.253";
};

would this work or, do I have to keep all the files in the 
/var/namedb directory?

--jeff


More information about the bind-users mailing list