relation between the datasource configuration in auth and in datasources
Carsten Strotmann
carsten at strotmann.de
Fri Feb 15 14:05:58 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm a little puzzled about the relationship of the datasource configuration.
I have
Auth/database_file "/usr/local/var/bind10/zone.sqlite3" string
(default)
Auth/datasources [] list
Auth/listen_on[0]/address "::" string (default)
Auth/listen_on[0]/port 53 integer (default)
Auth/listen_on[1]/address "0.0.0.0" string (default)
Auth/listen_on[1]/port 53 integer (default)
Auth/tcp_recv_timeout 5000 integer (default)
The list of datasources is empty; the database file for "Auth" is
pointing to the BIND 10 default file.
But ...
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
in the datasources configuration I point to a different database. That
database has the records and the zones table.
Are "Auth/database_file" and "data_sources/classes/IN[1]/params
{"database_file": "/var/bind10/zones.db"}" redundant. Are both needed?
What should be in "Auth/datasources"? My list is empty, but it seems to
work for both the SQLite3 and MasterFiles backends.
Best regards
Carsten Strotmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlEeQMYACgkQiDbv+TR5q6IaCACdFTJK292xQgdbj3btMCS7xJLZ
98AAn3sTBDvt8JRMRqJxC8xSYlItJBxp
=4BqK
-----END PGP SIGNATURE-----
More information about the bind10-users
mailing list