Activity log for bug #990775

Date Who What changed Old value New value Message
2012-04-28 22:05:52 Stuart Gathman bug added bug
2012-04-28 22:07:34 Stuart Gathman description The A record returned IP4 addresses as text in dotted quad notation. The AAAA support in 3.0.1 (and pydns) returned IP6 addresses as a 16 byte binary. The change to return text in 3.0.2 breaks code that depended on the binary notation for IP6 and converted text IP4 addresses back to binary. (Fortunately, such code is still using pydns AFAIK.) Making A and AAAA consistent is a good thing. Losing binary support is a bad thing. What we need is new methods to get the binary notation, which I can port back to pydns as well. All code that uses the binary form ends up converting to int/long so it can do masking and such. So we really need 3 access methods: text form, int/long form, and raw bytes. Raw bytes is the most general, and should be done first and be available for all DNS record types. The A record returned IP4 addresses as text in dotted quad notation. The AAAA support in 3.0.1 (and pydns) returned IP6 addresses as a 16 byte binary. The change to return text in 3.0.2 breaks code that depended on the binary notation for IP6 and converted text IP4 addresses back to binary. (Fortunately, such code is still using pydns AFAIK.) Making A and AAAA consistent is a good thing. Losing binary support is a bad thing. What we need is new methods to get the binary notation, which I can port back to pydns as well. All code that uses the binary form ends up converting to int/long so it can do masking and such. So we really need 3 access methods: text form, int/long form, and raw bytes. Raw bytes is the most general, and should be done first and be available for all DNS record types.
2012-04-28 22:52:09 Scott Kitterman py3dns: status New Confirmed
2013-05-30 03:15:21 Scott Kitterman py3dns: importance Undecided High
2013-05-30 03:15:21 Scott Kitterman py3dns: status Confirmed Fix Released