$INCLUDE directive and reloading zones

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue May 8 14:47:16 UTC 2001


> 
> Gentle people who have the knowledge,
> 
> In a lab environment, I'm running BIND8-2-3.REL, 282 zones.
> 
> A few zones use the $INCLUDE directive to add some extra stuff in the
> zonefiles.
> 
> I noticed when I do an ndc reload that it will ALWAYS reload the zones with
> the $INCLUDE directive, and then sent out notifies to the secondary, even if
> i didn't increase the serial number, I didn't touch the zone file, and I
> didn't touch the file which is included with the $INCLUDE directive.
> 
> Is this default behaviour? 

	Yes.

> It surely isn't doing what I expected it to do.

	Bind isn't make.  It just notes that there was an include file.
	Reloads just ignore file modification times on zones with
	include files and just reload.

> 
> Any suggestions/comments/bashing on what I am doing here?

	Patches to track the include files are welcome.
	You could also use make to build your zone files.
	
	In almost all cases where I have seen include files be used
	the have been abused resulting in unnecessary zone transfers.
	
	Mark

> 
> 
> Kind Regards / Met vriendelijke Groet,
> 
> Gody Keijzer
> 
> ECOLOGICAL MESSAGE: This message is sent over 100% recycled electrons
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list