]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix two issues with chaining ECS enabled queries
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 15 Jul 2025 11:54:30 +0000 (13:54 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 15 Jul 2025 12:13:01 +0000 (14:13 +0200)
commit19fdc9dfd9eaa279f2b5fb7a1053281973d350eb
treeff4281113c8ff55c689ade0e7bf16c01421be3a5
parentbebb17f0de60db3c3cb69bab7239b1615ef85124
Fix two issues with chaining ECS enabled queries

1. The main index does not sort on subnet, so we cannot assume any ordering in the
birthday compare used for chains.
2. The lookup key is overwritten by the matched key from the waiters, meaning
that we cannot use it to pass values. This means we have to
recompute the ECS info in the incoming path for each chain member.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/pdns_recursor.cc
pdns/recursordist/syncres.hh
regression-tests.recursor-dnssec/recursortests.py
regression-tests.recursor-dnssec/test_Chain.py