]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Test that the "zero scope" option doesn't exceed the maximum payload size
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Nov 2020 10:21:14 +0000 (11:21 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 18 Nov 2020 09:08:56 +0000 (10:08 +0100)
commitc86e11926b4f1e64bc020c8db388f9996d0f268e
treede3cfdb1186146a91071a1dc25d787542af529a3
parent699bc10a395f1b740970cd780aef1cb9be4a7b52
rec: Test that the "zero scope" option doesn't exceed the maximum payload size

When use-incoming-edns-subnet is enabled, the query has an ECS option,
and the answer was not variable, we do return a 0-scoped ECS answer,
to make it possible to the client (dnsdist for example) to cache the
response and serve it to all clients.
Still we need to make sure that adding the 0-scoped ECS option does not
exceed the client EDNS UDP payload size.
regression-tests.recursor-dnssec/test_ECS.py