BIND 10 #541: revisit the Zone::find() interface
BIND 10 Development
do-not-reply at isc.org
Wed Jan 26 23:13:08 UTC 2011
#541: revisit the Zone::find() interface
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: A-Team-
Component: data source | Task-Backlog
Sensitive: 0 | Keywords:
Add Hours to Ticket: 0 | Estimated Number of Hours: 0
Total Hours: 0 | Billable?: 1
| Internal?: 0
-------------------------------------+-------------------------------------
See the discussion at bind10-dev starting from
https://lists.isc.org/pipermail/bind10-dev/2011-January/001918.html
I'd specifically propose
- not use a parameter to exchange "all RRsets" of the found node (when
found)
- introduce a notion of "domain", and have Zone::find() return it with
the best-match RRset
- introduce a set of operation on domains, including iteration/retrieval
of all/specific RRsets of the domain
- for type ANY find(), return any first match RRset (and have the caller
retrieve necessary RRsets using the options for the domain
This doesn't have to be done right now, but (if we agree on the basic
idea) I'd like to make it happen before we support DNSSEC with the
in-memory data source or we generalize/unify the data source interface
for all types of data sources.
--
Ticket URL: <http://bind10.isc.org/ticket/541>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list