BIND 10 #413: loadzone thinks a label of digits is a TTL.

BIND 10 Development do-not-reply at isc.org
Fri Nov 19 23:10:23 UTC 2010


#413: loadzone thinks a label of digits is a TTL.
-----------------------+----------------------------------------------------
  Reporter:  jreed     |            Owner:     
      Type:  defect    |           Status:  new
  Priority:  major     |        Milestone:     
 Component:  loadzone  |         Keywords:     
 Sensitive:  0         |   Estimatedhours:  0  
     Hours:  0         |         Billable:  1  
Totalhours:  0         |         Internal:  0  
-----------------------+----------------------------------------------------
 BIND 9 loads this fine, but b10-loadzone thinks "1" is a TTL.

 {{{
 @       IN      SOA     server  email   1 2 3 4 5
 @       IN      NS      ns1
 ns1     IN      A       127.0.0.1
 ns1.1   IN      A       127.0.0.3
 ns2.1   IN      A       127.0.0.4
 1       IN      NS      ns1.1
 1       IN      NS      ns2.1
 }}}

 For example:

 {{{
 sqlite> select * from records ;
 1|1|tld.|tld.|5|SOA||server.tld. email.tld. 1 2 3 4 5
 2|1|tld.|tld.|5|NS||ns1.tld.
 3|1|ns1.tld.|tld.ns1.|5|A||127.0.0.1
 4|1|ns1.1.tld.|tld.1.ns1.|5|A||127.0.0.3
 5|1|ns2.1.tld.|tld.1.ns2.|5|A||127.0.0.4
 6|1|ns2.1.tld.|tld.1.ns2.|1|NS||ns1.1.tld.
 7|1|ns2.1.tld.|tld.1.ns2.|1|NS||ns2.1.tld.
 }}}

 RFC1034 says "The start of the line gives the owner of the RR.  If a line
 begins with a blank, then the owner is assumed to be the same as that of
 the previous RR." And RFC1101 allows a label to be a number (so don't have
 to start with a letter per RFC1034).

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


More information about the bind10-tickets mailing list