BIND 10 #2389: support generic version of rdata::createRdata(text) in A, AAAA RDATA

BIND 10 Development do-not-reply at isc.org
Sat Feb 23 02:09:13 UTC 2013


#2389: support generic version of rdata::createRdata(text) in A, AAAA RDATA
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  jinmei
            Priority:  medium        |                       Status:
           Component:  libdns++      |  accepted
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130305
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  2             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by jinmei):

 trac2389 is ready for review.

 I decided not to use the lexer for the string versions in these cases
 because the RDATA for these types are a single filed text that has
 well-known format.  And we'd need other conversion functions like
 inet_pton anyway.

 I noticed there are some common patters of code in both the
 implementation and tests.  I considered unifying them, but the amount
 of the code is relatively small, so I chose not to introduce
 complexity due to the indirection at the cost of duplicate.
 But I'm okay with unifying them if it's deemed to be better.

 As commented in #2386, I suggest not adding a changelog entry
 just for this subtask and providing a consolidated one at the
 completion of all conversions.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2389#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list