]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-manager.c
resolved: disable path MTU discovery for UDP traffic
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Nov 2020 13:02:52 +0000 (14:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Feb 2021 14:42:18 +0000 (15:42 +0100)
commiteb170e75ab594c2e2a11d3b84f8cbb40d9b70bff
tree2215cf21693703527678eb0f6bed9d08bf946fc5
parent95aa3937da91ba6bb30fab33740cc5a53484780c
resolved: disable path MTU discovery for UDP traffic

This disables path MTU discovery both for our UDP upstream connections
and our UDP stub, following the suggestions of:

https://blog.apnic.net/2019/07/12/its-time-to-consider-avoiding-ip-fragmentation-in-the-dns/

This more or less follows the model of other DNS servers on this.
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-stub.c
src/resolve/resolved-manager.c
src/resolve/resolved-manager.h