set directory for "auto" key files
Michael W. Lucas
mwlucas at blackhelicopters.org
Mon Jan 7 17:06:12 UTC 2013
On Mon, Jan 07, 2013 at 04:52:53PM +0000, Chris Thompson wrote:
> On Jan 7 2013, Phil Mayers wrote:
>
> [...]
> >I've never tried it but there's a "journal" option on the zone; maybe
> >this takes paths, like so:
> >
> > zone "foo" {
> > type master;
> > # zone lives outside working dir
> > file "/etc/zones/foo";
> > # ...but journal lives inside it
> > journal "data/journals/foo";
> > };
> >
> >Note: I've never tested this; it is a wild guess.
>
> We have been using it for years - it works fine. We have e.g.
Thank you, Phil & Chris!
I knew it had to be an option somewhere...
==ml
>
> zone "cam.ac.uk" {
> type master;
> file "master/cam.ac.uk";
> journal "master-jnl/cam.ac.uk";
> ...
> }
> zone "111.131.in-addr.arpa" {
> type master;
> file "master/111.131.in-addr.arpa";
> journal "master-jnl/111.131.in-addr.arpa";
> ...
> }
> ...
> zone "cl.cam.ac.uk" {
> type slave;
> file "slave/cl.cam.ac.uk";
> journal "slave-jnl/cl.cam.ac.uk";
> ...
> };
> zone "232.128.in-addr.arpa" {
> type slave;
> file "slave/232.128.in-addr.arpa";
> journal "slave-jnl/232.128.in-addr.arpa";
> ...
> };
> ...
>
> One slight niggling disadvantage is that you can't tell
> named-checkzone / named-compilezone with the -j option where
> to find the journal is it isn't in the default location.
>
> --
> Chris Thompson
> Email: cet1 at cam.ac.uk
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Michael W. Lucas
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Latest book: SSH Mastery http://www.michaelwlucas.com/nonfiction/ssh-mastery
mwlucas at michaelwlucas.com, Twitter @mwlauthor
More information about the bind-users
mailing list