[bind10-dev] DNS message API: resource data classes
Francis Dupont
fdupont at isc.org
Sun Aug 16 22:00:01 UTC 2009
> - class RRSet: a set of RRs (or name + RdataSet)
> public methods: all methods available for RdataSet + getName()
=> we need a function to get the canonical encoding for signing
(toWire() or canicalName()s + toWire())
> Additional design considerations (and open issues):
>
> - ldns doesn't have per RR type structure such as "AAAARdata" above or
=> IMHO for a OOL your proposal is better.
> - The getRdatalist<RdataType> method of RdataSet is a templatized
=> C++ was chosen, sorry...
> - In the initial prototype implementation, RRSet is a subclass of
> RdataSet as in dnspython. I found it convenient as I wrote a
> prototype implementation, but I'm not sure if this is a natural
> inheritance relationship from the data modeling point of view (i.e.,
> can we say an RRset "is an" rdataset?). We may want to revisit it
> later.
=> you put too meaning to the subclassing concept...
Regards
Francis_Dupont at isc.org
More information about the bind10-dev
mailing list