]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: support skip hashing AR section for caching
authorOliver Chen <oliver.chen@nokia-sbell.com>
Wed, 7 May 2025 07:35:18 +0000 (07:35 +0000)
committerOliver Chen <oliver.chen@nokia-sbell.com>
Wed, 11 Jun 2025 00:10:42 +0000 (00:10 +0000)
commit07c8fab41538975d2a1b7bee5191c750f94a547c
treec17b490e6a6c1a864538763fa810458e07a913b6
parent0282a2cbbaee0a4a5449618892ad6b1df2473747
dnsdist: support skip hashing AR section for caching

Use case arise that two clients with different udp payload size,
a customized client uses 4096 while glibc resolver uses 1232.
User would like to share cache result for the same query name,
type and class in this case. The downstream servers does not use
ECS and would not return different answers upon other EDNS
options so this is to add an option to support such use case.
pdns/dnsdistdist/dnsdist-cache.cc
pdns/dnsdistdist/dnsdist-cache.hh
pdns/dnsdistdist/dnsdist-configuration-yaml.cc
pdns/dnsdistdist/dnsdist-lua-bindings-packetcache.cc
pdns/dnsdistdist/dnsdist-settings-definitions.yml
pdns/dnsdistdist/dnsdist.cc
pdns/dnsdistdist/docs/reference/config.rst
regression-tests.dnsdist/test_Caching.py