Setting semi-global options

Cricket Liu cricket at acmebw.com
Fri Jul 2 15:05:18 UTC 1999


torben fjerdingstad <unitfj-bind at tfj.rnd.uni-c.dk> wrote in message
news:<19990702115401.B14440 at tfj.rnd.uni-c.dk>...
>
> Is it possible to set options for a group of zones?
>
> I use a lot of includes, like:
>
> include "master/b/bar.dk/Include.conf";
> include "master/f/foo.dk/Include.conf";
> include "slave/ns.baz.dk/a/Include.conf";
> include "slave/ns.baz.dk/b/Include.conf";
> ..
>
> I would like to surround a group of them with { }
> and specify common options for them, like:
>
> // these get special handling
> {
> transfers-in 5;
> include "master/f/foo.dk/Include.conf";
> include "slave/ns.baz.dk/a/Include.conf";
> }
> // here, transfers-in should be the default again
> include "master/b/bar.dk/Include.conf";
> include "slave/ns.baz.dk/b/Include.conf";
>
> Is something like that possible?

Unfortunately, no.  include is a top-level statement.

cricket

Acme Byte & Wire
cricket at acmebw.com
www.acmebw.com

Attend our next DNS and BIND class!  See
www.acmebw.com/training.htm for the
schedule and to register for upcoming
classes.



More information about the bind-users mailing list