Skip to main content

Failover Debugging

When failover doesn't work as expected.

Failover Not Triggering

Check:

  1. Is failover enabled for the domain?
  2. Is monitoring paused?
  3. Is the master actually unreachable?
  4. Is the slave healthy?

Verify in dashboard:

  • Domain settings → Failover Enabled
  • Server pair → Both servers online

DNS Not Updating

Possible causes:

  • Invalid Cloudflare API token
  • Wrong Zone ID
  • Cloudflare rate limiting

Debug:

  1. Check Cloudflare dashboard for DNS records
  2. Verify API token permissions
  3. Check backend logs for Cloudflare API errors

Traffic Still Going to Master

Remember: DNS propagation takes time. Check:

  1. Local DNS cache: nslookup yourdomain.com
  2. Global propagation: Use online DNS checker
  3. TTL settings in Cloudflare

Test Failover

Safely test without affecting master:

  1. Go to domain in dashboard
  2. Click "Test Failover"
  3. This updates DNS but doesn't stop master
  4. Click "Restore" to revert