Wildcards and the include directive?

Mark Andrews marka at isc.org
Tue Jan 24 08:48:25 UTC 2012


In message <20120124082907.GB16040 at linode1.alfiejohn.com>, Alfie John writes:
> Hi guys,
> 
> I've looked hard but can't find any reference to using wildcards inside
> an include directive. Does this feature exist in 9?
> 
> I've found this setup quite useful for other services like Apache etc.
> What I want to do is be able to configure multiple zones by something
> like:
> 
>   include "/etc/bind/sites-enabled/*"
> 
> This way, I can add/remove zones on the fly with ln and rm, instead
> of resorting to sed/awk/perl in order to modify named.conf.

Named supports adding and removing zones via rndc.

	rndc addzone ....
	rndc delzone ....
 
> Alfie
> _______________________________________________
> 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
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list