DNS Failover
Keep a hostname pointed at something that's actually up. A failover group health‑checks your endpoints and automatically swings DNS to a healthy one when the primary goes down.
Create a failover group
- Go to Network → DashXDNS → Failover → New group.
- Choose the DNS provider (must be an active provider) and the record to manage.
- Add your endpoints — the primary and one or more backups DNS can point to.
- Configure the health check:
- Type —
HTTPS,HTTP, orTCP. - Port and Path (e.g.
/) for HTTP(S). - Expected status — e.g.
2xxmeans any 2xx response is healthy.
- Type —
- Save. DashX starts probing.
What happens
- Healthy — the record points at the primary.
- Failed over — the primary failed its check, so DNS was switched to a healthy backup (the last failover time is shown).
- Degraded / Error — some checks are failing or the group can't evaluate; investigate.
tip
Point the health check at a real /health endpoint that only returns 2xx when the app can actually serve traffic — not just at a port that's open — so failover fires on real outages, not half‑up states.