feat(domains): verify domain ownership via DNS #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/domains"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
feat/tcp-sni).Changes
domainstable (migration20261016110000),Domainscontext, and an admin-only Domains page: add a domain, see the record to create, check DNS, set the wildcard option and certificate resolver, remove._traefik-control.<domain>TXTtraefik-control-verification=<token>. The token is random and never reused; a partial unique index lets only one organization hold a name as verified; checks are throttled to one per 10 seconds; a DNS outage is reported as such rather than as a missing record.TRAEFIK_CONTROL_REQUIRE_VERIFIED_DOMAINS=true(default off) requires HTTP resource names, and SNI-routed TCP names, to lie under a verified domain. Only a name being set is checked, so existing resources keep working.tls.domains(example.complus*.example.com) and the domain's resolver (or the node's). Deeper names keep their own certificate. Traefik Control only names the resolver; it holds no DNS credentials, and the resolver itself lives in the node's static Traefik configuration./api/v1/domainswithverify; OpenAPI spec, audit categorydomains, README.Verification
mix format --check-formatted,mix compile --warnings-as-errors,mix credo --strict,mix dialyzer: clean.mix test: 1453 passed on SQLite and on PostgreSQL.tls.domainsaccepted, and Traefik asked for["example.com", "*.example.com"]once for both routers; a deeper name got its own request.Not verified