ALPQ

DNS Key Quorum

DRAFT 0.12026-11-01ALPQ Lab spec · draft for comment

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.

Status: a draft for review, not a standard. First use: letting a site know it has the real public key of its monitor (see Sealed Flow Manifest). Honest scope: it protects key discovery; it can't save a key whose owner was compromised.

1Terms

2How it works

  1. The owner publishes the full public key at an HTTPS address on its main domain.
  2. The owner publishes the key's SHA-256 fingerprint on each of n notary domains, each signed with DNSSEC.
  3. The verifier fetches the key over HTTPS, computes its fingerprint, and asks every notary.
  4. 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>

4Verifying a key

  1. Fetch the key from https://<owner>/.well-known/keyq/<kid> and compute its SHA-256 fingerprint.
  2. Query every notary. The verifier MUST validate the DNSSEC chain itself and MUST NOT rely only on a resolver's "authenticated" flag.
  3. Accept the key if at least k notaries return a validated, matching fingerprint.
  4. Raise an alert if any validated answer disagrees, even when the quorum is met. Disagreement is a signal, not noise.
  5. 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.
  6. 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:

SetupCan loseAttacker needs
2 of 31HTTPS + 2
3 of 5 (recommended)2HTTPS + 3
4 of 51HTTPS + 4
4 of 73HTTPS + 4

6Independence rules

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

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

10References