6 msgQuestion on global settings in named.conf
6 msgFORMERR Messages in BIND 9.3.2
2 msgQuery logging issue?
1 msgis there any one using DLZ extension to BIND
2 msgforward DNS query for certain entries in certai...
4 msgNeed help with bind on suse 8.
2 msglinux bind replica of primary DNS
4 msgWin2K3-AD Master - Bind Slave transfers fail
2 msgWrong zone file..
2 msgHelp me Solving two problems pls
2 msgBIND & forwarding zone / proxy - HOW???
3 msgRunning multiple websites from different domain...
2 msgStrange state of bind
4 msgCompiling Bind 9.3.2 on Solaris 10

'include'ing all files in a directory - has thi...
\ Paul Colquhoun (29 Jun 2006)
. \ Chris Boot (29 Jun 2006)

2 msgout of memory and server fail!
1 msgRE: Bind CPU usage issue
6 msgDo I need TSIG for zone transfer on an intranet...
5 msgBind CPU ussage issue
9 msgNamed errors
Subject:Re: 'include'ing all files in a directory - has this been done?
Group:Bind-users
From:Chris Boot
Date:29 Jun 2006


 
Paul Colquhoun wrote:
> Has anybody modified BIND so that the 'include' statement in the config
> file will include all the files in a directory, if it is given a
> directory name instead of a file name?
>
> Something like the way that xinetd does?
>
> I'm working on a new BIND installation for an ISP, and this would enable
> us to have a directory full of small files, each one holding the 'zone'
> statement for a single domain. Adding and removing a domain could then
> be done by adding/removing the relevant file, without needing to modify
> the main config file each time.
>
> Or, to stop inadvertent includes, call it 'include-dir' so a typo wont
> have such a big, unexpected effect.
>
> Has this been shot down in the past as a bad idea?
>

I think you can simply do an 'include /foo/bar/*.conf' and it will
include all files matching the pattern.

HTH,
Chris




© 2004-2008 readlist.com