Wildcards and the include directive?

Alfie John alfie at h4c.kr
Tue Jan 24 09:31:44 UTC 2012


Hi Jan-Piet,

On Tue, Jan 24, 2012 at 09:58:49AM +0100, Jan-Piet Mens wrote:
> What you could do though is to create the content of the file you're
> including, which ought to solve your problem.
> 
>         cd /var/path
>         ls > /etc/bind/sites-enabled.include
> 
> And then in named.conf [ include "/etc/bind/sites-enabled.include" ]

That's actually a nice hack... I like it.

On a more general note, do other people see wildcard includes useful or
is it just me? Would a patch be accepted for this feature or is my
thinking flat-out wrong?

Alfie



More information about the bind-users mailing list