When DNS over HTTPS is enabled and configured to trust incoming X-Forwarded-For headers, in addition to the use of the proxy protocol being enabled between DNSdist and one of its backends, an outgoing TCP connection could be wrongly reused for a query received over the same incoming DNS over HTTPS connection but with a different X-Forwarded-For header, causing the backend to consider the query as coming from the same remote client than the first query received on the outgoing connection.
https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-15.html