[bind10-dev] Non-absolute names for $ORIGIN

Jeremy C. Reed jreed at isc.org
Mon Dec 17 15:03:43 UTC 2012


On Mon, 17 Dec 2012, Stephen Morris wrote:

> "another corner case: is it okay to specify a non-absolute name for
> $ORIGIN? BIND 9 allows it - NSD doesn't"
> 
> A couple of points come to mind:
> 
> Firstly if $ORIGIN is a relative name, then what is it relative to?
> 
> Secondly, the omission of a trailing "." in a $ORIGIN statement caused
> a ccTLD to go off-line a few years ago. Perhaps we could make
> acceptance of relative names for $ORIGIN a BIND 10 configuration
> option?  Some users may welcome the ability to catch a common error.

We already made the decision before. See http://bind10.isc.org/ticket/51
and also see our existing regression tests using these zone files:
src/bin/loadzone/tests/correct/include.db
src/bin/loadzone/tests/correct/inclsub.db
src/bin/loadzone/tests/correct/mix1sub1.db
and its known output
src/bin/loadzone/tests/correct/known.test.out

As for catching a common error, I think a warning about it would be 
fine. I am also fine with a configuration option (even though some think 
it is better to get rid of most options and against adding more).


More information about the bind10-dev mailing list