problems serving a secondary zone from SQLite

Carsten Strotmann carsten at strotmann.de
Fri Feb 15 17:37:48 UTC 2013


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

Hello JINMEI Tatuya,

JINMEI Tatuya / 神明達哉 wrote:

> 
> No, but if you enable "caching", all zones stored in the underlying 
> SQLite3 data source must be listed in "cache-zones".  That is, you 
> should either
> 
> 1. disable cache (sqlite3 only) 2. enable cache, and list all zones
> in cache-zones
> 
> In your original configuration, you enabled cache but not listed 
> "dnsworkshop.org" in cache-zones:
> 
> 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
> 
> In your revised config you added it to cache-zones (#2 above), so it 
> works.  You can also disable cache (#1 above).
> 

A very good explanation. I now understand the reason. Thank you.

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

iEYEARECAAYFAlEecmwACgkQiDbv+TR5q6KRdQCfXYBdNy1anGRpyKqjYtpWisle
SzEAnRbOxO5D1MKwvu05wA41rWBshvEI
=EzUn
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list