[bind10-dev] 'owner' column of nsec3 sqlite3 table and 'addNSEC3' interface
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Sat Apr 21 04:06:10 UTC 2012
At Thu, 19 Apr 2012 10:23:37 +0200,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:
> > - deprecate the owner column of the SQLite3 nsec3 table
> > - introduce getAllNSEC3Records(), and have the database ZoneIterator
> > call both getAllRecords() and getAllNSEC3Records() to retrieve all
> > RRs of the zone. getAllNSEC3Records() only returns the hash, and
> > ZoneIterator internally appends the origin to the hash to create
> > RRsets.
>
> I didn't implement it that way, because I had the column at hand and I didn't
> need to create yet another class holding a state. But from the long term, this
> looks better.
>
> But when updating the database, I'd propose dropping the sigtype column as well,
> because we don't use it and we still need to update it.
Yeah that's actually another proposal of mine:-) I'd also suggest
renaming 'rdtype' to 'rrtype'. I'll create tickets for these proposed
changes. Not urgent ones, but so we won't forget them.
---
JINMEI, Tatuya
Internet Systems Consortium, Inc.
More information about the bind10-dev
mailing list