Files
Ben KaplanandGitHub 968bdc4f81 plugin/edns: remove truncating of question section on bad EDNS version (#5787)
* plugin/edns: remove truncating of question section on bad EDNS version

EDNS requests of "Unknown Version" removed the query section altogether.
Not sure why since this is not require (see [link](https://kb.isc.org/docs/edns-compatibility-dig-queries)

This cause issues with DNS solutions that uses this information (initial queried name, type and class) in order to route the response to the right client (e.g. PDNS).

The change here is to keep the inital query section as is.

Signed-off-by: Ben Kaplan <[email protected]>

* adding tests for edns0 version check

Signed-off-by: Ben Kaplan <[email protected]>

* adding tests for non-edns0 version check

Signed-off-by: Ben Kaplan <[email protected]>

Signed-off-by: Ben Kaplan <[email protected]>
2022-12-01 09:07:13 -05:00
..