The service would monitor the status of your primary and backup endpoints. If the primary fails, it would automatically update the DNS record via API to point to a backup. It would also send alerts and continue monitoring backup endpoints. Naturally, API credentials would be encrypted for security.
I’d offer a free tier, with a paid monthly plan for advanced features. While some DNS providers (like Cloudflare and Route 53) already offer similar functionality, others—such as GoDaddy—don’t seem to. I’m thinking this could be useful for smaller MSPs, solo developers, or businesses that need a simple, independent solution.
Does this sound like something people would find useful? I'd appreciate any feedback!
The thing to keep in mind is that you need to assume a given DNS server (server server) doesn't respect TTL. TTL should be considered a value that is ignored unless you operate the DNS server and clients. So while you update your TTL, some client in a remote-region-in-the-middle-of-nowhere is leveraging a DNS server that sets all TTL values to 10 days. Now you've got a client that cannot connect.