ADR-0003: DNSSEC with ECDSA P-256#
- Status: accepted
- Date: 2026-07-30
Context#
DNSSEC is the most interesting piece of DNS configuration available, and the project explicitly wants current cryptographic standards. Route 53 supports signing with a key-signing key backed by an asymmetric KMS key.
It is also the single largest cost item and the highest-severity failure mode in the stack, so the choice is not free in either sense.
Decision#
Sign the zone with ECDSAP256SHA256 (algorithm 13) (RFC 6605) and SHA-256 digests (digest type 2), using an asymmetric KMS key with spec ECC_NIST_P256 and key_usage = SIGN_VERIFY, in us-east-1.
Accept the ~$1/month KMS charge. Publish the DS record manually at the external registrar for now, with manage_registrar_ds ready for a future transfer.
Do not configure automatic key rotation.
Alternatives considered#
RSASHA256 (algorithm 8). Widely supported and the historical default. Rejected on size: an RSA-2048 signature is ~256 bytes against ~64 for P-256. Signed responses have to carry RRSIGs, and exceeding the traditional 512-byte UDP limit means either IP fragmentation — which many firewalls drop, producing intermittent failures that are genuinely nasty to diagnose — or TCP fallback, adding a round trip to every lookup.
Ed25519 (algorithm 15). Specified in RFC 8080. Better on the merits: smaller still, and no dependence on getting nonce generation right, which is where ECDSA implementations historically go wrong. Route 53 does not support it. On the tech radar under Assess.
No DNSSEC. Saves $1/month — around 65% of the total bill. Rejected because it is the most interesting thing here and $12/year is a reasonable price. The failure modes are real, which is precisely why they are worth learning on a domain that does not matter.
Automatic KSK rotation on a schedule. Rejected deliberately. With an externally-managed DS record, rotation requires a manual registrar update at a specific point in the sequence. Automating the half that can be automated creates a window where the zone is signed with a key the registry does not know about — an outage caused by a control intended to prevent one. The key is non-exportable and lives in KMS; the marginal risk of not rotating is low. Revisit after a transfer into Route 53 Domains, where the whole sequence can be automated.
Consequences#
Positive: responses are authenticated end to end from the root. The chain is verifiable by anyone with dig or delv. P-256 keeps responses inside one UDP datagram. The curve matches the TLS certificate, so the whole stack is P-256. The private key cannot leave KMS.
Negative: ~$1/month, roughly tripling the bill. DNSSEC fails hard — a broken signature, a deleted key, or a mis-ordered teardown makes the domain unresolvable for most of the internet rather than degrading. The failure is also invisible from a non-validating resolver, so you can be down for everyone else and look fine. The DS record is a manual step that fails silently if forgotten (though that state is safe: signed but unvalidated). prevent_destroy on the key and zone makes deliberate teardown a two-commit process.
Neutral: the KMS key can be shared across zones, so a second signed domain costs $0.50 rather than $1.50.
Revisit when#
- Route 53 supports Ed25519 (algorithm 15) for key-signing keys.
- The domain moves into Route 53 Domains, making the full rotation sequence
automatable — at which point scheduled rotation becomes worth reconsidering.
- The zone grows enough that response sizes need re-measuring.