CNAME/ANAME failover is conceptually the same as A record failover but with the flexibility of aliases, allowing for more complex and reliable configurations and monitoring services. For example purposes, we will be using CNAME records in this tutorial, but the process is identical when configuring failover with ANAMEs.
Failover is most commonly used for redundancy and preventive measures for domains. This is especially useful for mission-critical services or organizations that rely on the internet for revenue, visibility, and functionality.
A. Name: Enter the hostname for the record.
B. TTL: Time to live (measured in seconds) determines how long a record is cached in resolvers. Visit our What is TTL resource for more information and best practices for TTLs.
C. Record Mode: This mode enables you to configure Failover, Record Pools, or Round Robin with Failover. Visit our Records Mode page for more details on these settings.
There are three Failover settings to choose from. You will also want to designate a contact for failover alerts:
D. Contact Notify: Select the contact list that will receive Failover notifications. If you need help with this step, see our Create a Contact tutorial.
E. Disable Record: With this feature, you are able to remove records from our nameservers without removing the record configuration in the Constellix DNS control panel. See our Disabling a Record tutorial for more information.
6. Add Endpoints for Failover Configuration
Next, you will need to add the endpoints for your Failover Configuration and the appropriate Sonar check.
F. Host: Add the endpoints, starting with your primary. Click Add Another Host to add additional resources.
G. Sonar Check: Select the Sonar Check you would like to use for monitoring your resources.
H. Enabled: This allows you to disable endpoints in your Failover configuration at any time (useful for planned maintenance or updates).
I. Notes: The note section lets you add important details and keywords so you can easily search for specific records later (optional, but recommended).
Save: Once you have entered all endpoints and have chosen Sonar checks for each, click the green Save and Close button to complete your configuration.
7. Test Your Failover Configuration
Once you have reviewed and committed your changes, your failover configuration will instantly propagate to all of our nameservers. To verify that the record you configured is live, you can query the record through Mac’s Terminal or the Windows Command Prompt (or PowerShell). Alternatively, you can use our DNS Lookup Tool, which can be used anywhere, from any device.
You can also see your configuration in the main Records area. If you click on the host for the record that has Failover configured, the host (endpoint) that is being returned will be designated with an asterisk in the Alias to/Pool column.
Visit our website for more information on our services and features.