problems serving a secondary zone from SQLite

Carsten Strotmann carsten at strotmann.de
Fri Feb 15 16:32:24 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to serve a secondary zone from the SQLite database

b10-auth complains:
013-02-15 17:17:22.383 ERROR [b10-auth.auth/3470]
AUTH_DATASRC_CLIENTS_BUILDER_COMMAND_ERROR command execution failure:
failed to load zone dnsworkshop.org./IN: not found in any configured
data source.

Xfrin is happy:
2013-02-15 17:17:22.217 INFO  [b10-xfrin.xfrin/4178]
XFRIN_XFR_TRANSFER_STARTED AXFR transfer of zone dnsworkshop.org/IN started

2013-02-15 17:17:22.381 INFO  [b10-xfrin.xfrin/4178]
XFRIN_TRANSFER_SUCCESS full AXFR transfer of zone dnsworkshop.org/IN
succeeded (messages: 1, records: 20, bytes: 3014, run time: 0.226
seconds, 13334 bytes/second)

Datasource configuration:
data_sources/classes/IN[0]/type "MasterFiles"   string
data_sources/classes/IN[0]/params       {"example.com":
"/var/bind10/zones/example.com"}        any
data_sources/classes/IN[0]/cache-enable true    boolean
data_sources/classes/IN[0]/cache-zones[0]       "example.com."  string
data_sources/classes/IN[1]/type "sqlite3"       string
data_sources/classes/IN[1]/params       {"database_file":
"/var/bind10/zones.db"}       any
data_sources/classes/IN[1]/cache-enable true    boolean
data_sources/classes/IN[1]/cache-zones[0]       "example.org"   string

Zonemgr config:
Zonemgr/lowerbound_refresh      10      integer (default)
Zonemgr/lowerbound_retry        5       integer (default)
Zonemgr/max_transfer_timeout    14400   integer (default)
Zonemgr/refresh_jitter  0.25    real    (default)
Zonemgr/reload_jitter   0.75    real    (default)
Zonemgr/secondary_zones[0]/class        "IN"    string  (default)
Zonemgr/secondary_zones[0]/name "dnsworkshop.org"       string

Xfrin:
Xfrin/transfers_in      10      integer (default)
Xfrin/zones[0]/name     "dnsworkshop.org"       string
Xfrin/zones[0]/class    "IN"    string  (default)
Xfrin/zones[0]/master_addr      "37.153.96.134" string
Xfrin/zones[0]/master_port      53      integer (default)
Xfrin/zones[0]/tsig_key null    string
Xfrin/zones[0]/use_ixfr false   boolean (default)

the zone gets transferred, it is in the database file, but Auth does not
answer:

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6 <<>> @localhost
dnsworkshop.org
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 11217
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;dnsworkshop.org.               IN      A

;; Query time: 2 msec
;; SERVER: ::1#53(::1)
;; WHEN: Fri Feb 15 17:31:15 2013
;; MSG SIZE  rcvd: 33

I'm somehow stuck on this step, not sure where to look for a fix.

Best regards

Carsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAlEeYxgACgkQiDbv+TR5q6L4BQCfVbBqB7tFnixj4ulwitFEO5rj
jogAmOqXcVekPv23MAGaYCwcCutYGVw=
=7c46
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list