BIND 10 #2500: support generic version of rdata::createRdata(text) in SOA

BIND 10 Development do-not-reply at isc.org
Wed Jan 9 10:47:25 UTC 2013


#2500: support generic version of rdata::createRdata(text) in SOA
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  jinmei
            Priority:  medium        |                       Status:
           Component:  libdns++      |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130122
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  3             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by vorner):

 * owner:  vorner => jinmei


Comment:

 Hello

 I think I've seen some code like this somewhere. Can it be unified?
 {{{#!c++
 createName(MasterLexer& lexer, const Name* origin) {
     const MasterToken::StringRegion& str_region =
         lexer.getNextToken(MasterToken::STRING).getStringRegion();
     return (Name(str_region.beg, str_region.len, origin));
 }
 }}}

 Also, AFAIK the loader accepts `QSTRING` for names. I think we said that
 it's not completely correct, but we mimic bind9 behaviour there. Should we
 be consistent here?

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


More information about the bind10-tickets mailing list