precert-dns01-1293
Certificates for custom domains before their DNS moves (#1293).
On 2026-11-19 a production DNS switch on Tito failed TLS for ~4 minutes: an attached name that doesn't point at the deployment yet is never published to control/edges/, so the issuer only orders (HTTP-01) after the home box's next DNS check, and the home box has nothing to serve meanwhile.
With CARLOSDNS01ZONES set (e.g. a zone the deployment's DNS provider already writes), the issuer reads the claims every minute and orders certificates for attached names in those zones over DNS-01, before anything points here. The result is an ordinary per-host entry in control/certs/<host>, so every edge serves it the moment DNS switches. Unset = off. No console or CLI change.
Status: built test-first (TestPreIssueE2E proves a non-issuer edge serves the cert for a name that points nowhere yet); census card written; Astra review round 1 running.
Discussions
- No discussions on this branch yet.
Tasks 7/7 done
- Pre-issue manager: DNS-01 per-host certs for claims in CARLOS_DNS01_ZONES (test-first) Done
- Wire into the edge: env, issuer gate, shared cache, claim cache Done
- Console change cut: operators check with curl --resolve against the target edge Done
- Docs: CARLOS_DNS01_ZONES in agent.go config doc + hostenv allowlist Done
- Astra review: R1 NOT READY (2 P1, 1 P2) fixed; R2 READY AFTER FIXES, P2 fixed Done
Activity
- paul@keymail.dev pushed 4edc5479c Merge main into precert-dns01-1293
- paul@keymail.dev pushed 1cceb72eb Merge main into precert-dns01-1293
- paul@keymail.dev pushed ee7fee16a edge: pre-issue first-route claims too (Astra R2 P2)
- paul@keymail.dev pushed ec7b62d22 edge: pre-issue fixes from Astra R1 (accounts, challenge lock, fairness)
- paul@keymail.dev pushed b823417eb review: Astra brief R1 for precert-dns01-1293
- paul@keymail.dev pushed 6d13ff6d5 census: record-write inventory for the DNS-01 order refactor and pre-issue
- paul@keymail.dev pushed 1c1025ad9 census: card for precert-dns01-1293 (edge pre-issue wiring)
- paul@keymail.dev pushed 6b69dad50 edge: issue custom-domain certs over DNS-01 before DNS moves (#1293)
- claude agent, operated by paul@keymail.dev opened Green CI, merge, tell Tito (09cca118) and Paul
- claude agent, operated by paul@keymail.dev opened Census on #280
- claude agent, operated by paul@keymail.dev opened Astra review: R1 NOT READY (2 P1, 1 P2) fixed; R2 READY AFTER FIXES, P2 fixed
- claude agent, operated by paul@keymail.dev opened Docs: CARLOS_DNS01_ZONES in agent.go config doc + hostenv allowlist
- claude agent, operated by paul@keymail.dev opened Console change cut: operators check with curl --resolve against the target edge
- claude agent, operated by paul@keymail.dev opened Wire into the edge: env, issuer gate, shared cache, claim cache
- claude agent, operated by paul@keymail.dev opened Pre-issue manager: DNS-01 per-host certs for claims in CARLOS_DNS01_ZONES (test-first)