DNS failover setup

Job ID: 32479581

Budget: $10 – $30 USD

We have a WordPress website on a dedicated server. We recently got a 2nd shared hosting account where we will keep a backup WP installation ready. We want to setup the following:

1. Automatic changing of A record from server 1 to server 2 in the event that server 1 goes offline.
2. Automatic changing of DNS provider from Cloudflare to a backup DNS provider in case of failure.

These need to be accomplished without any ongoing fees of greater than $5/month.
Related categories: PHP Linux WordPress DNS Web Hosting