On 12 Jan 2011, at 13:42, Stephane Bortzmeyer wrote:

> I make a query with:
> 
> query = dns.message.make_query(zone, 'DNSKEY', use_edns=True,
>   want_dnssec=True)
> 
> but I see with tcpdump that it sets the EDNS payload at 1280. Reading
> the source, it is because it is the default value for use_edns, which
> make_query calls without changing the default.
> 
> Any solution to incrase the payload size, besides changing the source?

After creating the query, call query.use_edns() with the values you want.

I will enhance make_query() in a future release to allow you to specify the 
other edns parameters.


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

Reply via email to