Hacker News new | ask | show | jobs
by calgoo 202 days ago
Not OP, but you could do "simple" dns load balancing between both endpoints.
1 comments

As I mentioned in the sibling comment, please note that in this case you only get round-robin, not failover. If one of the addresses is down, the DNS record will continue returning it and users will hit a dead end.

A proper load balancer or Cloudflare DNS proxy would handle this.