coredns/middleware/dnssec
Miek Gieben 2dd8a687b3 Startup notification (#250)
Stop the caddy message and start our own init notifications.
Log the version of CoreDNS when starting up.
Fix all middleware's setup functions so that return the error prefixed
with *which* middleware was failing; leads to better debuggable errors
when starting up.
2016-09-10 09:16:25 +01:00
..
black_lies.go Add middleware/dnssec (#133) 2016-04-26 17:57:11 +01:00
black_lies_test.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
cache.go Add middleware/dnssec (#133) 2016-04-26 17:57:11 +01:00
cache_test.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
dnskey.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
dnssec.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
dnssec_test.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
handler.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
handler_test.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
README.md Fs (#242) 2016-09-05 09:32:11 +01:00
responsewriter.go Cleanup: put middleware helper functions in pkgs (#245) 2016-09-07 11:10:16 +01:00
rrsig.go Add middleware/dnssec (#133) 2016-04-26 17:57:11 +01:00
setup.go Startup notification (#250) 2016-09-10 09:16:25 +01:00
setup_test.go Make CoreDNS a server type plugin for Caddy (#220) 2016-08-19 17:14:17 -07:00

dnssec

dnssec enables on-the-fly DNSSEC signing of served data.

Syntax

dnssec [zones...]
  • zones zones that should be signed. If empty, the zones from the configuration block are used.

If keys are not specified (see below), a key is generated and used for all signing operations. The DNSSEC signing will treat this key a CSK (common signing key), forgoing the ZSK/KSK split. All signing operations are done online. Authenticated denial of existence is implemented with NSEC black lies. Using ECDSA as an algorithm is preferred as this leads to smaller signatures (compared to RSA). NSEC3 is not supported.

A single signing key can be specified by using the key directive.

NOTE: Key generation has not been implemented yet.

TODO(miek): think about key rollovers, and how to do them automatically.

dnssec [zones... ] {
    key file [key...]
}
  • key file indicates that key file(s) should be read from disk. When multiple keys are specified, RRsets will be signed with all keys. Generating a key can be done with dnssec-keygen: dnssec-keygen -a ECDSAP256SHA256 <zonename>. A key created for zone A can be safely used for zone B.

Examples