]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-packet.h
resolve: change DNS_PACKET_UNICAST_SIZE_LARGE_MAX to 1232 (#27171)
authorCristian Rodríguez <cristian@rodriguez.im>
Fri, 7 Apr 2023 07:52:52 +0000 (03:52 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2023 07:52:52 +0000 (09:52 +0200)
commite144a26306dbe07fe37f294301421a938b781247
tree259e548af9d5cc274e7c4a14cdadfea94c60f1a9
parent1e094cb4ba258496dd8b210658106f3d196252a2
resolve: change DNS_PACKET_UNICAST_SIZE_LARGE_MAX to 1232 (#27171)

The old common default was 4096, until 2020 on which all DNS servers (verified
on BIND9, NSD, Unbound, dnsmasq) switched to 1232 as an agreed max size [1].

[1] https://www.dnsflagday.net/2020/#message-size-considerations
src/resolve/resolved-dns-packet.h