Skip to main content

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

  1. Go to Network → DashXDNS → FailoverNew group.
  2. Choose the DNS provider (must be an active provider) and the record to manage.
  3. Add your endpoints — the primary and one or more backups DNS can point to.
  4. Configure the health check:
    • TypeHTTPS, HTTP, or TCP.
    • Port and Path (e.g. /) for HTTP(S).
    • Expected status — e.g. 2xx means any 2xx response is healthy.
  5. 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.