[bind10-dev] DNS packet API: the name object

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Sep 3 08:25:57 UTC 2009


At Tue, 25 Aug 2009 10:38:02 +0200,
Jelte Jansen <jelte at isc.org> wrote:

> we might also want to think about how to efficiently do name compression, which
> makes it a bit more involved even if all rrs are stored in wire format, and if
> we want to be memory-efficient for in-memory zones; whether we need to have a
> separate name for every rr, or that we could have names that contain (class,
> type, ttl) tuples, which in turn contain rdata sets, and for dnssec the
> associated sigs and nsecs (yes yes, all database again). Perhaps some c++
> smartness could help in this regard, but i'm not completely up to speed on that yet.
> 
> Will this part of the API be used to communicate with the database API?

In general, I believe it will.  But we'll also need to consider
efficiency for built-in on-memory "data source" (I thought we agreed
to avoid using "database" in this context to avoid confusion:-).  How
to meet these goals (whether we need to provide a special, separate
API where it needs to be efficient, which I'd like to avoid as much as
possible, or whether we can make it via some lazy evaluation, etc) is
an open issue.

---
JINMEI, Tatuya



More information about the bind10-dev mailing list