aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/file.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2021-04-05 15:45:28 +0200
committerGravatar GitHub <noreply@github.com> 2021-04-05 06:45:28 -0700
commit13cef2ee090ce122e960761e2a26113b6300a722 (patch)
tree0cd6c546cc5401a9b7cadcfeb71f53d5239f0942 /plugin/file/file.go
parent454bc9e0b96b86dfa458400959907b6854448764 (diff)
downloadcoredns-13cef2ee090ce122e960761e2a26113b6300a722.tar.gz
coredns-13cef2ee090ce122e960761e2a26113b6300a722.tar.zst
coredns-13cef2ee090ce122e960761e2a26113b6300a722.zip
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>
Diffstat (limited to 'plugin/file/file.go')
0 files changed, 0 insertions, 0 deletions