BIND 10 #2059: ZoneFinder::Context::getSynthesizedCNAME
BIND 10 Development
do-not-reply at isc.org
Mon Jun 18 08:24:03 UTC 2012
#2059: ZoneFinder::Context::getSynthesizedCNAME
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: task | Status: new
Priority: medium | Milestone: Next-
Component: data source | Sprint-Proposed
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
See #2056 for background. This is another one of such things,
referring to trac1607exp branch:
{{{#!cpp
// Called for DNAME case. (Somehow) construct the synthesized CNAME
// for the qname with the DNAME. Return Rcode of NOERROR() normally,
// but YXDOMAIN() if CNAME cannot be constructed because the name
would
// be too long.
//
// Default version: extract the DNAME RDATA, construct the synthesized
// cname by splitting and concatinating labels, create a new
standard
// CNAME RRset and sets its (only) RDATA to the created cname.
// Optimized in-memory version: construct the synthesized cname
// essentially same way, but possibly more efficiently exploiting
the
// internal representation of the in-memory RDATA (without involving
// expensive name splitting and concatinating). To avoid resource
// allocation it might use some pool of "free (and empty)" internal
// RRset.
}}}
And in this ticket we'll only need to do the "default version". It
should be essentially straightforward refactoring.
--
Ticket URL: <http://bind10.isc.org/ticket/2059>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list