[getdns-api] EDNS maximum UDP payload size defaults to 512

Shumon Huque shuque at gmail.com
Wed Sep 24 02:14:34 CEST 2014


On Mon, Sep 22, 2014 at 1:50 PM, Shumon Huque <shuque at gmail.com> wrote:

>
> The 1280 magic number comes from the IPv6 minimum MTU. To avoid IPv6
> fragmentation, we'd need to specify a number somewhat below 1280 to account
> for UDP header (8 bytes) and any likely encapsulation/extension headers.
> BIND appears to use a value of 1232 for this purpose.
>

Apologies for following up to my own message. I realized later that the
1232 value is the result of subtracting the length of the IPv6 header (40)
and the UDP header (8) from 1280. That leaves a max UDP payload size of
1232.

--Shumon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://getdnsapi.net/pipermail/spec/attachments/20140923/8b61a377/attachment.html>
-------------- next part --------------
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org


More information about the spec mailing list