b10-loadzone issues

Jeremy C. Reed jreed at isc.org
Tue Dec 6 19:21:21 UTC 2011


On Tue, 6 Dec 2011, Spain, Dr. Jeffry A. wrote:

> I?m testing the authoritative server functionality of bind10-devel-20111128.
> My test zone file jaspain.net.db, as written by bind9, has the following
> contents:
> 
>  
> 
> $TTL 3600       ; 1 hour
> 
> jaspain.net             IN SOA  nstest.jaspain.net.
> hostmaster.countryday.net. (


How was it written by BIND 9?

All examples I have on my systems as created by "named" or by BIND 9 
tools either have the $ORIGIN entity or they don't have relative names 
(that is they do end in a dot).

> I found that adding the line ?$ORIGIN .? at the beginning of the zone file
> fixes this. Does it makes sense to have that be an implicit default for
> b10-loadzone so that bind9 zone files can be imported intact?

You may pass the origin name on the b10-loadzone command line with the 
-o switch.

Even BIND 9 would have the origin defined for your example zone file 
with its named.conf zone statement configuration.

...

> 11 RR(s) loaded in 0.05 second(s) (99.90% of
> jaspain.net.db)                   

> What does it mean that it loaded 99.90% of the zone file? What about the
> remaining 0.10%?

That is a bug.
http://bind10.isc.org/ticket/674

We plan on replacing the b10-loadzone to use the new datasource API, so 
we have been ignoring some loadzone bugs for now.

Thank you very much for testing out our software!


More information about the bind10-users mailing list