Automatic change of DNS entries on origin failure

What is the name of the domain?

example.com

What is the issue you’re encountering

Can we have health checks in DNS as Route53?

What steps have you taken to resolve the issue?

We faced a problem yesterday, when the ISP deleted our IP range from their routing tables. It took us several hours to get it back again. To avoid similar problems in the future, we would want to get a new uplink from other provider and to load balance the dns to both endpoints. The case is that we would want to have something similar to a health check to disable a failing endpoint.

This is not for a web service, but for email (SMTP, IMAP, etc). Can this be accomplished with Cloudflare? If there is no direct implementation in the DNS, can we have a worker checking the origin’s health and making changes automatically?

What feature, service or problem is this related to?

DNS records

Yes, such kind of stuff can be accomplished via Cloudflare Load Balancing.

That kind of stuff is referenced under the Proxy status section, as this kind of traffic would require the Proxy status to be set to Unproxied (:grey:) / DNS-only.

Proxy status · Cloudflare Load Balancing docs

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.