[bind10-dev] support multiple datasources (using sqlite3 for now)?

Shane Kerr shane at isc.org
Wed Mar 31 13:38:55 UTC 2010


Jeremy,

On Tue, 2010-03-30 at 17:35 -0500, Jeremy C. Reed wrote:
> How easy would it be to support multiple sqlite3 database files?

Hm... good question. I think we already support multiple data sources,
right? Is that how we handle VERSION.BIND queries now?

> So the auth server can serve data from the first sqlite3 database that 
> contains the matching query. I am not sure how to define the order 
> though -- so maybe just use in order configured for now.

This is exactly what we need.

In the long term this needs to be configurable somehow. People will want
to change this without adding/removing data sources (because if you
remove then add to move something to the end of the list, there is a
time when you are not answering for that data source).

> I assume this would later be abstracted so the datasource could be a 
> flat file, in-memory, etc later ...

Yup, that's my thinking too.

--
Shane




More information about the bind10-dev mailing list