coredns/plugin
Miek Gieben 13cef2ee09
plugin/dnssec: use entire RRset as key input (#4537)
* plugin/dnssec: use entire RRset as key input

This uses the entire rrset as input for the hash key; this is to detect
differences in the RRset and generate the correct signature.

As this would then lead to unbounded growth, we periodically (every 8h)
prune the cache of old entries. In theory we could rely on the random
eviction, but it seems nicer to do this in a maintannce loop so that we
remove the unused ones. This required adding a Walk function to the
plugin/pkg/cache.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Update plugin/dnssec/cache.go

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2021-04-05 06:45:28 -07:00
..
acl plugin/acl: add the ability to filter records (#4389) 2021-02-01 06:52:23 -08:00
any docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
auto transfer: reply with refused (#4510) 2021-03-09 12:17:34 -08:00
autopath plugin/autopath: slightly tweaks the docs (#4188) 2020-10-16 14:28:44 +02:00
azure d-Updated Azure plugin NS record (#4383) 2021-01-11 14:58:56 -08:00
bind plugin/bind: exclude interface or ip address (#4543) 2021-03-25 16:38:17 +01:00
bufsize For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
cache Add cache eviction metrics to the cache plugin (#4411) 2021-03-21 16:58:16 +01:00
cancel docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
chaos For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
clouddns fix record missing for zone with many of records (#4328) 2021-01-12 13:38:18 +01:00
debug docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
deprecated For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
dns64 docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
dnssec plugin/dnssec: use entire RRset as key input (#4537) 2021-04-05 06:45:28 -07:00
dnstap Fix import ordering presubmit test (#4422) 2021-01-24 17:28:49 +00:00
erratic docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
errors Speed up testing (#4239) 2020-10-30 10:27:04 +01:00
etcd Remove newlines between braces (#4279) 2020-11-11 18:45:01 +01:00
file transfer: reply with refused (#4510) 2021-03-09 12:17:34 -08:00
forward metrics: remove RR type (#4534) 2021-03-19 12:59:26 +01:00
grpc For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
health plugin/health: add logging for local health request (#4533) 2021-03-19 03:40:38 -07:00
hosts Remove newlines between braces (#4279) 2020-11-11 18:45:01 +01:00
import docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
k8s_external plugin/kubernetes: Add support for dual stack ClusterIP Services (#4339) 2020-12-21 02:30:24 -08:00
kubernetes plugin/kubernetes: do endpoint/slice check in retry loop (#4492) 2021-03-26 08:54:39 -04:00
loadbalance For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
local add local plugin (#4262) 2020-11-05 15:02:07 +01:00
log Remove newlines between braces (#4279) 2020-11-11 18:45:01 +01:00
loop For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
metadata docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
metrics metrics: remove RR type (#4534) 2021-03-19 12:59:26 +01:00
minimal plugin/minimal: fix import path (#4523) 2021-03-16 10:55:21 +01:00
nsid docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
pkg plugin/dnssec: use entire RRset as key input (#4537) 2021-04-05 06:45:28 -07:00
pprof docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
ready dont return 200 during shutdown (#4167) 2020-10-01 16:13:23 +02:00
reload docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
rewrite auto go fmt 2021-02-24 10:22:15 +00:00
root For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
route53 Use cancelable contexts for cloud provider plugin refreshes (#4226) 2020-10-24 14:37:01 +02:00
secondary typos correct (#4560) 2021-04-05 09:34:25 -04:00
sign Revert "plugin/sign: track zone file's mtime (#4431)" (#4511) 2021-03-15 15:42:13 +01:00
template For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
test Rewrite SRV targets and additional names in response (#4287) 2021-02-23 10:12:40 +01:00
tls docs: move Also See to See Also (#4245) 2020-10-28 10:56:35 -07:00
trace plugin/trace - Use compatible tag name for datadog (#4408) 2021-01-28 16:38:24 +01:00
transfer plugin/transfer: only allow outgoing axfr over tcp (#4452) 2021-02-05 10:51:29 +01:00
whoami For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00
backend.go Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) 2020-09-24 20:30:39 +02:00
backend_lookup.go backend: fix root zone usage (#4039) 2020-07-31 10:58:09 +02:00
done.go go report card fixes (#3182) 2019-08-24 18:14:25 +00:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
normalize.go Fix import ordering presubmit test (#4422) 2021-01-24 17:28:49 +00:00
normalize_test.go add MustNormalize (#3385) 2019-10-19 08:08:14 +01:00
plugin.go Added minimal-responses plugin (#4417) 2021-03-15 15:37:55 +01:00
register.go For caddy v1 in our org (#4018) 2020-09-24 18:14:41 +02:00