problems serving a secondary zone from SQLite

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


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

With caching enabled, the DNS server responds to queries, but still logs
this error messaage:

2013-02-15 17:54:27.939 ERROR [b10-auth.auth/3470]
AUTH_DATASRC_CLIENTS_BUILDER_COMMAND_ERROR command execution failure:
failed to load a zone dnsworkshop.org./IN: error occurred in reload:
Confused about missing both filename and data source

- -- Carsten

Carsten Strotmann wrote:
> Hmm,
> 
> just after sending this mail I found a workaround, but I'm not sure
> if this is how it should be.
> 
> If I enable caching on the zone, it works:
> 
>> config set data_sources/classes/IN[1]/cache-zones[1] 
>> "dnsworkshop.org" config commit
> 
> If caching also required for SQLite zones?
> 
> -- Carsten
> 
> Carsten Strotmann wrote:
>> 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 _______________________________________________
>> bind10-users mailing list bind10-users at lists.isc.org 
>> https://lists.isc.org/mailman/listinfo/bind10-users
> _______________________________________________ bind10-users mailing
> list bind10-users at lists.isc.org 
> https://lists.isc.org/mailman/listinfo/bind10-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEeaXMACgkQiDbv+TR5q6JzJQCeJLbilRW0t3xT84fjyZ3h8wXw
FPEAnjzFM/fYyH0Cvak//n0O1nyAEQ4w
=F2o5
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list