feat: verify custom domains by a CNAME unique to the page
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 7m28s
ci / test (pull_request) Successful in 12m52s
ci / build (pull_request) Successful in 11m21s
ci / image (pull_request) Successful in 4m38s
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 7m28s
ci / test (pull_request) Successful in 12m52s
ci / build (pull_request) Successful in 11m21s
ci / image (pull_request) Successful in 4m38s
A custom domain now needs a single record: a CNAME to <label>.<status page host>, where the label is derived from the page's domain token. The wildcard record of the status page host routes it, and since the target belongs to one page alone it also proves who set it up; a CNAME to the shared host would not, as any organization could then claim a domain pointing at the platform. The TXT record stays for domains whose CNAME cannot be seen, behind a proxy or without a subdomain. - The domain watch looks for the records of a new domain every minute for a quarter of an hour, then every ten minutes for two days, and verifies it on its own; "Check now" still works. - Verified domains are checked daily. When the record is gone the owners are told, and a week later the domain is switched off, so a record left behind cannot be taken over. Domains verified before keep working without checks. - The editor shows the CNAME record first, the TXT way for proxies and apex domains, how the domain was verified and when a missing record will switch it off. The API returns cname_record and domain_missing_since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
66537f4e65
commit
5934bd74e8
16 files changed
+1132
-307
No files matched your search
@@ -514,6 +514,10 @@
|
||||
"console.sso_required_action": "Sign in with SSO",
|
||||
"console.suspended_reason": "Reason: {{.Reason}}",
|
||||
"console.totp_missing_action": "Set up now",
|
||||
"email.domain_missing.body": "The status page {{.Page}} is served at {{.Domain}}, but the DNS record proving that the domain belongs to it can no longer be found.\n\nUnless it is back by {{.Date}}, the domain is switched off and the page is no longer served there. The record to restore is shown here:\n{{.Link}}",
|
||||
"email.domain_missing.subject": "The DNS record of {{.Domain}} is gone",
|
||||
"email.domain_off.body": "The DNS record of {{.Domain}} has been missing for a week, so the status page {{.Page}} is no longer served there.\n\nRestore the record and verify the domain again:\n{{.Link}}",
|
||||
"email.domain_off.subject": "{{.Domain}} has been switched off",
|
||||
"email.opened.body": "{{.Monitor}} ({{.Target}}) is down in all of its regions since {{.Since}}.\n\nLast errors:\n{{.Cause}}\n\nYou receive this because a notification channel of your organization is set up for this address.",
|
||||
"email.opened.subject": "[DOWN] {{.Monitor}}",
|
||||
"email.region_back.body": "Region {{.Region}} has an active checker again; it had none since {{.Since}}. Overdue checks run right away.\n\n{{.Link}}",
|
||||
@@ -544,7 +548,7 @@
|
||||
"error.consent_outdated": "The documents changed in the meantime. Reload the page and accept the current version.",
|
||||
"error.consent_required": "Please accept the privacy policy and terms first.",
|
||||
"error.domain_changes_exceeded": "The custom domain was changed {{.Count}} times today already. Try again tomorrow.",
|
||||
"error.domain_not_verified": "The TXT record was not found yet. DNS changes can take a while to appear.",
|
||||
"error.domain_not_verified": "Neither the CNAME nor the TXT record was found yet. DNS changes can take a while to appear.",
|
||||
"error.domain_taken": "This domain is already used by another status page.",
|
||||
"error.email_not_configured": "Email is not available on this server.",
|
||||
"error.email_taken": "This email address is already registered.",
|
||||
@@ -1250,16 +1254,22 @@
|
||||
"pages.delete_confirm": "Delete this status page?",
|
||||
"pages.description": "Description",
|
||||
"pages.domain": "Custom domain",
|
||||
"pages.domain_alt": "Then the CNAME cannot be seen from outside. Prove the domain with this TXT record instead, and point the domain, or your proxy's origin, at {{.Target}}; for a domain without a subdomain use an ALIAS or ANAME record or CNAME flattening.",
|
||||
"pages.domain_alt_summary": "Behind a proxy such as Cloudflare, or a domain without a subdomain?",
|
||||
"pages.domain_apex": "A domain without a subdomain (example.com) cannot have a CNAME record. Use your DNS provider's ALIAS or ANAME record, or A/AAAA records, instead.",
|
||||
"pages.domain_intro": "Serve this page under a domain of your own, e.g. status.example.com. Three steps: prove the domain is yours, point it at the status page servers, and HTTPS follows by itself.",
|
||||
"pages.domain_cname_step": "Create this CNAME record. It points the domain at the status page servers and proves that the domain is yours, because its target belongs to this page alone. We look for it every few minutes and verify the domain on our own; DNS changes can take a while to appear.",
|
||||
"pages.domain_intro": "Serve this page under a domain of your own, e.g. status.example.com. One DNS record is usually all it takes; HTTPS follows by itself.",
|
||||
"pages.domain_keep": "Keep the record in place: it is checked daily, and a domain whose record has been gone for a week is switched off, so nobody else can take it over.",
|
||||
"pages.domain_missing": "The record of this domain has not been found since {{.Since}}. Unless it is back, the domain is switched off on {{.Date}}.",
|
||||
"pages.domain_name": "Domain",
|
||||
"pages.domain_step_cname": "2. Point the domain at the status page servers with this CNAME record:",
|
||||
"pages.domain_step_cname_own": "2. Point the domain at your organization's own status page servers: a CNAME record to their host name, or A/AAAA records to their addresses.",
|
||||
"pages.domain_step_cname_unknown": "2. Point the domain at the platform's status page servers with a CNAME record; the operator of this installation tells you its target.",
|
||||
"pages.domain_step_tls": "3. HTTPS: the certificate is obtained automatically on the first visit over HTTPS, which can take up to a minute. To protect the certificate authority's limits that all organizations share, new certificates are limited per day, and the domain can be changed at most {{.Count}} times a day.",
|
||||
"pages.domain_step_cname_own": "Then point the domain at your organization's own status page servers: a CNAME record to their host name, or A/AAAA records to their addresses.",
|
||||
"pages.domain_step_cname_unknown": "Then point the domain at the platform's status page servers with a CNAME record; the operator of this installation tells you its target.",
|
||||
"pages.domain_step_tls": "HTTPS: the certificate is obtained automatically on the first visit over HTTPS, which can take up to a minute. To protect the certificate authority's limits that all organizations share, new certificates are limited per day, and the domain can be changed at most {{.Count}} times a day.",
|
||||
"pages.domain_step_verified": "1. Domain verified.",
|
||||
"pages.domain_step_verify": "1. Prove the domain is yours with this TXT record, then verify. Until then the domain is neither served nor given a certificate.",
|
||||
"pages.domain_step_verify": "Prove the domain is yours with this TXT record, then verify. Until then the domain is neither served nor given a certificate.",
|
||||
"pages.domain_verified": "Domain verified.",
|
||||
"pages.domain_verified_by_cname": "Domain verified by its CNAME record.",
|
||||
"pages.domain_verified_by_txt": "Domain verified by its TXT record.",
|
||||
"pages.draft": "draft",
|
||||
"pages.export": "Export as HTML",
|
||||
"pages.group": "Group",
|
||||
@@ -1289,6 +1299,7 @@
|
||||
"pages.title": "Status pages",
|
||||
"pages.value": "Value",
|
||||
"pages.verify": "Verify",
|
||||
"pages.verify_now": "Check now",
|
||||
"perm.audit.read": "View the audit log",
|
||||
"perm.incidents.read": "View incidents",
|
||||
"perm.incidents.write": "Manage incidents",
|
||||
|
||||
Reference in new issue
Block a user