]> git.ipfire.org Git - thirdparty/pdns.git/commit
recursor local udp port avoid 4791
authorzhaojingshi <zhaojingshi@bytedance.com>
Thu, 12 Dec 2024 08:57:44 +0000 (16:57 +0800)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 13 Dec 2024 08:55:33 +0000 (09:55 +0100)
commit43f7dea5deafb61b7107134fc1e342ee5980496b
treec59b6c9fd77d4aa37dc5bcd87da692b52733408a
parent62aca54395e271ec1bac8405f1ff3736e6e4cdbd
recursor local udp port avoid 4791

When the recursor sends a DNS request and the local port is specified as 4791, if there is RDMA hardware on the machine, when the response with dst as port 4791 reaches the network card driver, it will be directly processed by the hardware as Roce v2 protocol, and the recursor will not get a response to this request.

(cherry picked from commit d0b0158ef76e556c88ab59b2baad8c8d9970543e)
pdns/recursordist/settings/table.py