Filename wildcards in include configuration directive

Mark Andrews Mark_Andrews at isc.org
Mon Jul 18 03:20:55 UTC 2005


> Hi All
> Is there any reason that the "include" configuration directive does not 
> support wildcards in filenames like apache, eg:
> include /etc/definitions/*.zdef

	Because no one has written the code to do it.  Feel free to
	write it if you want.  It shouldn't be too hard.
	
	1. Document the desired behaviour.

	2. Check if the include argument is a wildcard include based on 1.
	If it is a wildcard scan the file system and create a list of
	files to be opened.  Push and open the first entry.  When you reach
	eof if there is still a file on the list open it otherwise pop the
	input file stack.
	If it isn't a wildcard entry push and open the entry.

	Mark

> Regards
> 
> Warwick Chapman
> Marketing and Operations
> Thusa Business Support cc
>  
> Cellular: +27 83 7797 094
> Telephone: +27 31 563 1180
> Facsimile: +27 31 563 1182
> Website: http://www.thusa.co.za
>  
> -- There are 10 types of people in this world. Those 
> who understand binary, and those who don't.
> 
> 
> 
> -- Binary/unsupported file stripped by Ecartis --
> -- Type: text/x-vcard
> -- File: warwick.vcf
> 
> 
> 
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list