Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#541 closed enhancement (complete)

revisit the Zone::find() interface

Reported by: jinmei Owned by: jinmei
Priority: medium Milestone:
Component: data source Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

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.

Subtickets

Change History (5)

comment:1 Changed 9 years ago by stephen

  • Milestone A-Team-Task-Backlog deleted

Milestone A-Team-Task-Backlog deleted

comment:2 follow-up: Changed 8 years ago by shane

  • Defect Severity set to N/A
  • Owner set to jinmei
  • Status changed from new to assigned
  • Sub-Project set to DNS

There has been significant work on the Zone::find() interface right? I assume that this ticket is no longer needed, but I figured I'd ask. :)

comment:3 in reply to: ↑ 2 Changed 8 years ago by jinmei

  • Milestone set to New Tasks

Replying to shane:

There has been significant work on the Zone::find() interface right? I assume that this ticket is no longer needed, but I figured I'd ask. :)

We can close it. Some of the proposed points may still be worth
discussing, but I don't think they are substantial enough to keep the
ticket open.

comment:4 Changed 8 years ago by shane

  • Resolution set to complete
  • Status changed from assigned to closed

comment:5 Changed 8 years ago by shane

  • Milestone New Tasks deleted
Note: See TracTickets for help on using tickets.