Wildcard include in /etc/named.conf

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Sep 14 09:22:17 UTC 2006


On Thu, Sep 14, 2006 at 09:11:52AM +0200,
 Sim <simvirus at gmail.com> wrote 
 a message of 11 lines which said:

> I'm asking you if I can add wildcard include to /etc/named.conf:
> 
>     include "/etc/named.zones.*";

It does not seem so (Apache does it, I know).
 
> Now I'm including all singolar named.zones.xxx zone files and it's
> very unpleasant .

Use any preprocessor like m4, cpp, cheetah, whatever to produce
named.zones. (If you have more than two or three zones, you probably
already know that automation by text processing tools is the way to
success, happiness and glory.)



More information about the bind-users mailing list