coredns/plugin
Miek Gieben a53321d9d6
plugin/sign: fix signing of authoritative data (#3479)
Don't sign data we are not authoritative for. This adds an AuthWalk
which skips names we should not authoritative for. Adds a few tests to
check this is the case. Generates zones have been compared to
dnssec-signzone.

A number of changes have been made:

* don't add DS records to the apex
* NSEC TTL is the SOA's minttl value (copying bind9)
* Various cleanups
* signer struct was cleaned up: doesn't need ttl, nor expiration or
  inception.
* plugin/sign: remove apex stuff from names()
  This is never used because we will always have other types in the
  apex, because we *ADD* them ourselves, before we sign (DNSKEY, CDS and
  CDNSKEY).

Signed-off-by: Miek Gieben <miek@miek.nl>
Co-Authored-By: Chris O'Haver <cohaver@infoblox.com>
2019-12-06 19:54:31 +00:00
..
acl Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
any Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
auto Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
autopath Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
azure Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
bind Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
bufsize Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
cache Add a serve_stale option for plugin/cache (#3468) 2019-11-29 15:17:50 +00:00
cancel Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
chaos Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
clouddns Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
debug plugin register (#3321) 2019-09-28 10:40:43 +01:00
deprecated all: simply registering plugins (#3287) 2019-09-20 08:02:30 +01:00
dnssec Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
dnstap use pkg/reuseport in rest plugins (#3492) 2019-12-06 10:55:40 +00:00
erratic Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
errors Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
etcd Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
file plugin/sign: fix signing of authoritative data (#3479) 2019-12-06 19:54:31 +00:00
forward Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
grpc Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
health Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
hosts Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
import Directive -> plugin (#3363) 2019-10-08 10:20:48 +01:00
k8s_external Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
kubernetes Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
loadbalance Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
log Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
loop Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
metadata Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
metrics use pkg/reuseport in rest plugins (#3492) 2019-12-06 10:55:40 +00:00
nsid Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
pkg use pkg/reuseport in rest plugins (#3492) 2019-12-06 10:55:40 +00:00
pprof redirect handler for pprof index (#3503) 2019-12-06 19:04:49 +00:00
ready Fix reloading in health and ready (#3473) 2019-11-20 12:14:37 +00:00
reload Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
rewrite Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
root Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
route53 Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
secondary Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
sign plugin/sign: fix signing of authoritative data (#3479) 2019-12-06 19:54:31 +00:00
template Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
test cleanup: remove redundant return statement (#3297) 2019-09-23 14:40:14 +01:00
tls Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
trace Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
transfer Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
whoami Move to CODEOWNERS (#3489) 2019-11-29 13:17:05 +00:00
backend.go Remove context.Context from request.Request (#2726) 2019-03-26 14:37:30 +00:00
backend_lookup.go plugin/kubernetes: Handle multiple local IPs and bind (#3208) 2019-09-05 09:07:55 -04: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 add MustNormalize (#3385) 2019-10-19 08:08:14 +01:00
normalize_test.go add MustNormalize (#3385) 2019-10-19 08:08:14 +01:00
plugin.go typo fixes (#3169) 2019-08-21 16:08:55 -04:00
register.go all: simply registering plugins (#3287) 2019-09-20 08:02:30 +01:00