[bind10-dev] [svn] commit: r1223 - in /branches/jinmei-asio: ./ src/bin/auth/ src/bin/loadzone/ src/lib/auth/ src/lib/cc/ src/lib/config/ src/lib/dns/ src/lib/dns/rdata/generic/ src/lib/dns/tests/ src/lib/python/isc/auth/ src/lib/python/isc/cc/ src/lib/python/isc/config/ src/lib/python/isc/config/unittests/

Jelte Jansen jelte at isc.org
Tue Mar 9 07:27:52 UTC 2010


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

> 
>> I also saw database_file and some other changes here.
> 
> I guess this is a result of synching with trunk.  I've not modified
> these in the branch.
> 

That was me :)

I've removed the zone_list config option from auth, and modified auth so
that it actually uses the only setting left at the moment, database_file.

Auth/database_file is the sqlite3 database file auth_srv will serve
from. If it is not set, the system default will be used (currently
that's /tmp/zone.sqlite3, but obviously that still has to change).

If it is changed, the system will close the currently opened database
and open the one specified. If that one doesn't exist, it is created. If
the new file cannot be created (or if the existing file cannot be read),
the previous setting is kept and nothing happens.

Current missing features afaik: If there is a failure and 'rollback',
other modules that are listening in on this setting will not be informed
at the moment. Also I don't think it currently checks whether the file
contains a completely different database schema (resulting in servfails)

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuV+HgACgkQ4nZCKsdOncVPRACfdhRxa1Japl/AwpZKCcbN0RuP
aXwAnj9umbvbL8vgfg/hohyJaGSitFcO
=8bmb
-----END PGP SIGNATURE-----



More information about the bind10-dev mailing list