coredns/plugin/pkg
Ben Kaplan 9b94696b11
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>
2022-12-01 09:07:13 -05:00
..
cache Avoid copy of large value in range (#5243) 2022-03-18 10:13:58 -07:00
cidr add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
dnstest add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
dnsutil add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
doh Replace io.LimitReader with http.MaxBytesReader (#5241) 2022-04-04 15:02:08 -04:00
edns plugin/edns: remove truncating of question section on bad EDNS version (#5787) 2022-12-01 09:07:13 -05:00
expression plugin/view: Advanced routing interface and new 'view' plugin (#5538) 2022-09-08 14:56:27 -04:00
fall deprecate Normalize and MustNormalize (#4648) 2021-05-27 13:26:14 +02:00
fuzz fuzz: revert setup function (#3189) 2019-08-25 19:01:35 +00:00
log remove trailing empty lines per linter (#5526) 2022-07-19 15:26:17 -04:00
nonwriter Revert pkg/nonwriter changes (#1829) 2018-05-23 08:50:27 -04:00
parse add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
rand add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
rcode doc: some function/vars/const/package level updates (#1558) 2018-02-23 15:02:05 +00:00
replacer plugin/view: Advanced routing interface and new 'view' plugin (#5538) 2022-09-08 14:56:27 -04:00
response respond with REFUSED when max_concurrent is exceeded to avoid caching it (#4326) 2020-12-15 14:02:15 +01:00
reuseport update all +build statements (#5271) 2022-03-18 07:11:14 -07:00
singleflight Fix error string should not be capitalized (#2608) 2019-02-27 08:25:02 -05:00
tls Harden tls on all places (#5184) 2022-02-17 12:26:08 -08:00
trace Fix import ordering presubmit test (#4422) 2021-01-24 17:28:49 +00:00
transport Better naming (#2104) 2018-09-19 08:16:04 +01:00
uniq plugin/ready: fix starts and restarts (#2814) 2019-06-09 08:10:15 +01:00
up forward/up: HC every 0.5 seconds, do not do exponential backoff (#4371) 2021-01-12 13:55:01 +01:00
upstream Update upstream.Lookup method comment to reflect current state (#4832) 2021-08-27 14:23:05 +02:00