b10-loadzone issues

Spain, Dr. Jeffry A. spainj at countryday.net
Tue Dec 6 18:40:24 UTC 2011


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. (
                                2011111503 ; serial
                                86400      ; refresh (1 day)
                                3600       ; retry (1 hour)
                                1209600    ; expire (2 weeks)
                                3600       ; minimum (1 hour)
                                )
                        NS      nstest.jaspain.net.
                        NS      nstest2.jaspain.net.
                        A       74.203.156.160
                        TXT     "v=spf1 -all"
                        AAAA    2001:4870:20ca:9:e0c8:a386:13bf:948e
$ORIGIN jaspain.net.
nstest                  A       74.203.156.157
                        AAAA    2001:4870:20ca:158:4423:f19d:4ead:5c20
nstest2                 A       74.203.156.159
                        AAAA    2001:4870:20ca:9:1890:f431:72c9:caaf

The command "b10-loadzone jaspain.net.db" produces the following error message: Error reading zone file: Cannot parse RR, No $ORIGIN: jaspain.net IN SOA nstest.jaspain.net. hostmaster.countryday.net. 2011111503 86400 3600 1209600 3600.

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?

Also with regard to the following output of b10-loadzone:
root at bind10:~# b10-loadzone jaspain.net.db
Using SQLite3 database file /var/bind10-devel/zone.sqlite3
Zone name is jaspain.net.
Loading file "jaspain.net.db"
11 RR(s) loaded in 0.05 second(s) (99.90% of jaspain.net.db)
Done.

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

Thanks. Jeff.

Jeffry A. Spain
Network Administrator
Cincinnati Country Day School


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20111206/d494f177/attachment.html>


More information about the bind10-users mailing list