Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[client] use 1232 byte udp payload size buffer by default #143

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

realbiz21
Copy link
Contributor

DNS flag day of 2020 addressed optimum DNS message sizes to avoid IP fragmentation and minimize the usage of TCP. The recommendation for DNS software vendors was to "use a default EDNS buffer size" of 1232 bytes.

Fixes #142.

Reference: https://www.dnsflagday.net/2020/#action-dns-software-vendors
Reference: https://blog.cloudflare.com/dns-flag-day-2020/

DNS flag day of 2020 addressed optimum DNS message sizes to avoid IP fragmentation and minimize the usage of TCP. The recommendation for DNS software vendors was to "use a default EDNS buffer size" of 1232 bytes.

Fixes MiniDNS#142.
    
Reference: https://www.dnsflagday.net/2020/#action-dns-software-vendors
Reference: https://blog.cloudflare.com/dns-flag-day-2020/
@Flowdalic Flowdalic merged commit a0e901c into MiniDNS:master Jul 10, 2024
1 check passed
@realbiz21 realbiz21 deleted the udppayload branch July 13, 2024 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: increase default udp payload size buffer to recommended 1232 bytes
2 participants