agent_instruction so agents can update DNS through the user’s
DNS provider API without dashboard access.
Custom domain flow
Add the hostname
Run:The response includes
status, verified, dns_record_type,
dns_record_name, dns_record_value, dns_setup_url, and
agent_instruction.Create the DNS-only CNAME
Create the returned DNS record exactly. Current Tovuk responses use a
CNAME from api.example.com to cname.tovuk.app. Do not create an A
record pointing at Tovuk origin hosts.Verify the hostname
Run:If the response is still
pending, read agent_instruction before
changing anything else.CLI commands
API
GET /v1/services/{service_id}/domainsPOST /v1/services/{service_id}/domainsPOST /v1/services/{service_id}/domains/{domain}/verifyDELETE /v1/services/{service_id}/domains/{domain}
agent_instruction so agents can act
without dashboard access.
Meters and caps
Custom Domains use thecustomDomains plan limit. They have no direct usage
meter. Traffic served through the domain still counts against Worker, Static
Frontend, and transfer meters.
Rules
- Use the DNS record returned by Tovuk.
- Never point an A record at Tovuk origin hosts.
- Verify DNS after creating or changing a domain.
- Delete stale domains when a Service is retired.