Bind-8 directory usage

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed May 17 05:07:20 UTC 2000


> Hi,
> 
> Is there a way to "split" the directory that named (8.2.2p5) uses?
> 
> I'm wondering how feasible it would be to keep my "config"
> things in /etc & "variable" things in /var; hopefully it would
> make it easier to upgrade systems software, because all my
> config things would be in /etc & it would lessen the things I'd
> have to remember to preserve...  :)
> 
> For example:
> 
> Placing the "site config specific" config things (such as zone
> files) in, say, /etc/named, but putting anything "downloaded"
> (ie. secondaries) into /var/named.
> 
> Or is this just a Bad Idea(tm)?  :)

	This is quit reasonable.  Just use fully qualified path names
	for one or the other.  Alternatively use a symbolic link.

	e.g.
		options {
			"directory /etc/named";
		}

		zone "master.example" {
			type master;
			file "master.example.db";
		}

		zone "slave.example" {
			type slave;
			file "cache/slave.example.db";
			masters {...};
		}

	and /etc/named/cache is a symbolic link to /var/named.

	Mark

> 
> Thanks,
> 
> -kc
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list