]> git.ipfire.org Git - thirdparty/bind9.git/commit
Skip EDNS UDP-size hint on TCP retries
authorOndřej Surý <ondrej@isc.org>
Sat, 16 May 2026 11:24:53 +0000 (13:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 19 May 2026 09:18:30 +0000 (11:18 +0200)
commit08295d004ee9bdfc8fb8e59aa124e7874ae7b23b
tree19144ab22ac51565eabb769ba8355fdb44857b87
parentdb28b2127abdd92d83a1da8ae84b7b88dce53a86
Skip EDNS UDP-size hint on TCP retries

The hint feeds the EDNS OPT UDP-size field, which has no effect on TCP
transport.  Avoid the dns_adb_getudpsize() lookup when the query is
already pinned to TCP.

Assisted-by: Claude:claude-opus-4-7
lib/dns/resolver.c