BIND 10 #2188: b10-loadzone tries to remove comments from RData strings

BIND 10 Development do-not-reply at isc.org
Fri Aug 10 17:42:08 UTC 2012


#2188: b10-loadzone tries to remove comments from RData strings
---------------------------------+-----------------------------------------
            Reporter:  vorner    |                        Owner:
                Type:  defect    |                       Status:  new
            Priority:  medium    |                    Milestone:  New Tasks
           Component:  loadzone  |                     Keywords:
           Sensitive:  0         |              Defect Severity:  N/A
         Sub-Project:  DNS       |  Feature Depending on Ticket:
Estimated Difficulty:  0         |          Add Hours to Ticket:  0
         Total Hours:  0         |                    Internal?:  0
---------------------------------+-----------------------------------------
 If there's a semicolon in the text of, say, TXT record, b10-loadzone
 interprets it as a comment (even inside the double quotes). So this, for
 example, won't work:

 {{{
 mail._domainkey.vorner.cz.      3600    IN      TXT     "v=DKIM1; g=*;
 k=rsa;
 p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRrmcdQxhynm6Jlgg4MrsAxBICXVTUcsSj49XxMI5x+/3swzqsNjwy9+fOpDNx3LVbkBX4STRV1fsvXR1yi70ZxjOAkXu2bv1PuKP0eiK5xborxIu5nrr3P1dJzhs3j+pnutrTmHkv66Gia4/gIUzMh9j0Tfv2ReXheBoWogSLjQIDAQAB"
 }}}

 As only this will get through the preprocessing:

 {{{
 mail._domainkey.vorner.cz.      3600    IN      TXT     "v=DKIM1;
 }}}

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


More information about the bind10-tickets mailing list