aboutsummaryrefslogtreecommitdiff
path: root/plugin/log_test.go
diff options
context:
space:
mode:
authorGravatar Ben Kaplan <77549469+kaplanben@users.noreply.github.com> 2022-12-01 16:07:13 +0200
committerGravatar GitHub <noreply@github.com> 2022-12-01 09:07:13 -0500
commit9b94696b115d2d1394388e2b15c8ff05e5273cdf (patch)
treec358b0e8ead75ebd16fecc76372ec4c4fb82d255 /plugin/log_test.go
parent5517c3fd30f298d3967465cc989f050ebb9292e0 (diff)
downloadcoredns-9b94696b115d2d1394388e2b15c8ff05e5273cdf.tar.gz
coredns-9b94696b115d2d1394388e2b15c8ff05e5273cdf.tar.zst
coredns-9b94696b115d2d1394388e2b15c8ff05e5273cdf.zip
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 <ben.kaplan@redis.com> * adding tests for edns0 version check Signed-off-by: Ben Kaplan <ben.kaplan@redis.com> * adding tests for non-edns0 version check Signed-off-by: Ben Kaplan <ben.kaplan@redis.com> Signed-off-by: Ben Kaplan <ben.kaplan@redis.com>
Diffstat (limited to 'plugin/log_test.go')
0 files changed, 0 insertions, 0 deletions