DNS Key Quorum
Written for GOVW's own use and published openly: take what's useful, and tell us what's wrong.
DNSSEC proves a DNS answer is genuine, but one mistake can take a whole domain offline. This draft keeps DNSSEC away from the domains people use. A key's fingerprint is published on several small "notary" domains, each signed at a different provider, and a key is trusted only when enough notaries agree on it.
1Terms
- Owner: whoever holds the private key, for example a monitoring service.
- Notary: a small domain whose only job is to publish the owner's key fingerprint, signed with DNSSEC.
- Quorum: the number of notaries that must agree, written k of n, such as 3 of 5.
- Verifier: whoever needs the key, for example a website about to seal a file for its monitor.
2How it works
- The owner publishes the full public key at an HTTPS address on its main domain.
- The owner publishes the key's SHA-256 fingerprint on each of n notary domains, each signed with DNSSEC.
- The verifier fetches the key over HTTPS, computes its fingerprint, and asks every notary.
- The key is accepted only if at least k notaries return a valid DNSSEC-signed answer that matches.
The owner's main domain needs no DNSSEC. A notary that fails costs one copy of a fingerprint, never a website or a mailbox.
3The record
Each notary publishes a TXT record at _keyq.<owner-label>.<notary-domain>:
v=keyq1; owner=1x1.pe; use=enc; kid=2026-11; sha256=<base64url fingerprint>
useMUST beenc(receives sealed files) orsig(signs requests). One key MUST NOT serve both.kidnames the key version, so two versions can be published side by side during rotation.- Only the fingerprint goes in DNS. Post-quantum public keys are too large for comfortable DNS answers.
4Verifying a key
- Fetch the key from
https://<owner>/.well-known/keyq/<kid>and compute its SHA-256 fingerprint. - Query every notary. The verifier MUST validate the DNSSEC chain itself and MUST NOT rely only on a resolver's "authenticated" flag.
- Accept the key if at least k notaries return a validated, matching fingerprint.
- Raise an alert if any validated answer disagrees, even when the quorum is met. Disagreement is a signal, not noise.
- Never pick a winner by vote. A disagreement shows that something is wrong, not which side is wrong: the HTTPS site, the notaries, or a rotation nobody announced. The verifier only ever accepts the key it fetched, and only when k notaries match it.
- Remember the accepted fingerprint. A later change outside a published rotation window MUST be treated as suspect.
Recommended starting point: 5 notaries, quorum 3. Requiring all 5 would let one outage block every verifier.
5Choosing k and n
Notaries never vote to pick a winner; each one only says whether it matches the key fetched over HTTPS. So two numbers decide everything:
- Forgery: an attacker needs the owner's HTTPS site and k notaries.
- Availability: verifiers keep working with up to n − k notaries down.
| Setup | Can lose | Attacker needs |
|---|---|---|
| 2 of 3 | 1 | HTTPS + 2 |
| 3 of 5 (recommended) | 2 | HTTPS + 3 |
| 4 of 5 | 1 | HTTPS + 4 |
| 4 of 7 | 3 | HTTPS + 4 |
- k MUST be more than half of n. Any two quorums then share a notary, so two different keys can't both reach quorum at once.
- Odd or even n doesn't matter: there are no ties to break, because a split is a stop and an alert.
- The 3f+1 rule for systems that agree by vote (4, 7, 10, 13 to survive 1 to 4 liars) doesn't apply, because the HTTPS key is an outside reference and no winner is chosen.
- What limits n in practice is independence: each notary needs its own top-level domain, registrar and DNS provider, and every extra one is another renewal, bill and lookup. To make forgery harder, raise k (4 of 5, 4 of 7) before raising n.
6Independence rules
- Notaries SHOULD use different top-level domains (for example .org, .us, .pe, .net, .com).
- Notaries SHOULD use different registrars and different DNS providers. Five domains in one account are one password away from being one domain.
- Every notary MUST be on automatic renewal. An expired notary is a domain anyone can buy and answer from; the quorum limits the damage, renewal prevents it.
- The HTTPS key address adds a second, different trust system (web certificates). Both must agree.
7Rotation
The owner publishes the new kid on every notary, waits at least the longest DNS cache time plus one day, then starts using the new key. The old record stays for an overlap period. During that window verifiers MUST accept either key when each meets the quorum.
8Security considerations
- One notary compromised or misconfigured: outvoted, and its disagreement raises an alert.
- Owner's HTTPS site compromised: the fetched key won't match the notaries' fingerprints.
- Shared roots: all DNSSEC chains meet at the DNS root; different top-level domains spread everything below it.
- What it can't fix: a stolen private key is a valid key. Rotation and monitoring handle that, not discovery.
The idea matches multi-perspective validation, which certificate authorities use to check domain control from several network locations before issuing a certificate.
9Known gaps and questions
- Client-side DNSSEC validation libraries vary by platform; a reference verifier is needed.
- The
_keyqlabel and the/.well-known/keyq/path are not registered; registration would come with an IETF draft. - What a verifier should do while fewer than k notaries answer: wait and retry, never fall back to trusting fewer.
10References
- RFC 4033, RFC 4034, RFC 4035: DNS Security Extensions.
- RFC 8615: well-known URIs. RFC 2119 and RFC 8174: MUST, SHOULD and MAY.
- Lamport, Shostak and Pease, "The Byzantine Generals Problem", ACM TOPLAS 4(3), 1982.
- CA/Browser Forum Baseline Requirements: multi-perspective issuance corroboration.
- Related ALPQ drafts: Sealed Flow Manifest.