Domains & DNS
Domain registration and verification, authoritative VeloDNS, DNSSEC, health-aware steering, failover and domain status.
A domain in VeloFlux is the unit that receives traffic: it is verified, gets automatic TLS, and is associated with upstreams and routes. VeloDNS is the platform's authoritative DNS, with DNSSEC and health- and performance-aware steering.
Domain lifecycle#
| Status | Meaning |
|---|---|
pending | Created, waiting for TXT ownership verification |
verified / active | Verified and routable; TLS can be issued |
ssl_status: issued | TLS certificate active and valid |
ssl_status: pending | Certificate being provisioned |
ssl_status: error | Issuance failed — check DNS and the CNAME |
Create a domain#
In the dashboard: Domains → Add Domain → enter the FQDN → confirm.
Via API:
curl https://api.veloflux.io/api/domains \ -H "Authorization: Bearer ${VELOFLUX_ACCESS_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"domain": "example.com"}'Creation validates the FQDN and generates a verification_code, stored with status and ssl_status in the database.
Verify ownership#
Add the TXT record to the domain's DNS:
Type: TXTName: _veloflux-challengeValue: [verification code from the dashboard]TTL: 3600Check propagation:
dig _veloflux-challenge.example.com TXTTypical time: 5–10 minutes; up to 24 hours with a high TTL. Track the status in Domains or via API:
curl https://api.veloflux.io/api/domains/dom_123/status \ -H "Authorization: Bearer ${VELOFLUX_ACCESS_TOKEN}"Point traffic#
Once verified, point the domain at the VeloFlux edge:
Type: CNAMEName: @ (or the subdomain)Value: proxy.veloflux.ioTTL: 3600The TLS certificate is provisioned automatically after verification. See Security for on-demand TLS details.
VeloDNS — authoritative DNS#
VeloDNS is VeloFlux's authoritative DNS:
- DNSSEC: zones are signed, protecting responses against forgery.
- Health-aware steering: DNS answers reflect the health and performance of destinations — unhealthy origins leave the answer.
- Failover: if a destination fails, DNS starts answering with the remaining healthy destinations.
- Edge selection: edge choice takes health and performance into account.
Manage domains via API#
# List domainscurl https://api.veloflux.io/api/domains \ -H "Authorization: Bearer ${VELOFLUX_ACCESS_TOKEN}"# Get one domaincurl https://api.veloflux.io/api/domains/dom_123 \ -H "Authorization: Bearer ${VELOFLUX_ACCESS_TOKEN}"# Delete a domaincurl -X DELETE https://api.veloflux.io/api/domains/dom_123 \ -H "Authorization: Bearer ${VELOFLUX_ACCESS_TOKEN}"Public domain status#
Without authentication, you can query a domain's latest aggregated status (limited to 1 request per IP every 24 hours):
curl "https://api.veloflux.io/api/public/status?domain=example.com"Response:
{ "status": "up", "last_seen": "2026-02-17T12:30:00Z", "p95_ms": 42, "p99_ms": 95}status can be up, down or unknown.
Best practices#
- Keep the
_veloflux-challengeTXT record until verification completes. - Do not point the CNAME elsewhere while the domain is active in VeloFlux — on-demand TLS only approves existing, routable domains.
- For SaaS customer domains, each customer domain follows the same flow: create, verify via TXT, point the CNAME.
- For Geston-managed domains, certificate and route authorization is queried from Geston on demand — do not manually register Geston customer domains in VeloFlux.
Troubleshooting#
- Domain stuck in
pending: see Troubleshooting. ssl_status: error: see Troubleshooting.