Bob,

I'm having a problem with an exceedingly large response being
converted to wire format and back again.  It can be reproduced with
the following:
----------------
import dns.message, dns.name, dns.query, dns.flags, dns.rdatatype,
dns.rdataclass

server_ip = '64.65.64.17'
qname = dns.name.from_text('creativedynamo.com')
rdtype = dns.rdatatype.DNSKEY

request = dns.message.make_query(qname, rdtype, dns.rdataclass.IN)
request.use_edns(payload=4096)
request.want_dnssec(True)
request.flags |= dns.flags.CD

response = dns.query.tcp(request, server_ip, 10, 53)

wire = response.to_wire()
response_from_wire = dns.message.from_wire(wire)

-----------------

With dnspython 1.8.0 I get BadLabel or IndexError.

Any ideas?

Thanks,
Casey
_______________________________________________
dnspython-bugs mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-bugs

Reply via email to