Have a Question?

If you have any question you can ask below or enter what you are looking for!

Configure DNS Failover with a Template

1

Using DNS Failover with a template allows you to use a single failover record for multiple domains that share the same configuration. This is accomplished by setting up a template with a record set for the domains and setting up failover within the template. You can then apply the template to multiple domains.

USER ACTION WHAT YOU WILL SEE
STEP 1: Select the Advanced menu and click on “Templates” 4

 

USER ACTION WHAT YOU WILL SEE
STEP 2: Click on “Add Template” 4

 

USER ACTION WHAT YOU WILL SEE
STEP 3: Give the template an identifiable name. You can choose to base your template on the configuration of an existing domain, to do this select a domain name from the drop menu and click ok. Otherwise, click ok to continue. 4

 

USER ACTION
STEP 4: With the template created, we will define A records in the template that you will configure DNS Failover on. Assuming a shared hosting environment (where multiple domains will have the same primary IP address), we will define a root record for the template to configure DNS Failover on. The root record will have a primary IP address of 1.2.3.4 and a backup IP address of 1.2.3.5 which will reference a separate shared hosting environment at another location.

 

USER ACTION WHAT YOU WILL SEE
STEP 5: Under “A Records” click the plus sign to add a new record. 4

 

USER ACTION
STEP 6: We will add a root record (A record with the name field left blank) to the domain example.com with an IP address of 1.2.3.4 and a TTL of 180 seconds. Records which use DNS Failover services should have a TTL between 180-300 seconds.

 

USER ACTION WHAT YOU WILL SEE
STEP 7: Click “Submit 4

 

USER ACTION
STEP 8: Now we will set up a contact list for notification of the failover event. Select the “Config” menu

 

USER ACTION WHAT YOU WILL SEE
STEP 9: Click on “Contact Lists” 4

 

USER ACTION WHAT YOU WILL SEE
STEP 10: Click on the plus sign (+) to add a new contact list 4

 

USER ACTION
STEP 11: Give the contact list an identifiable name and enter the email addresses you would like included in the list, one per line. Groups are discussed in a tutorial here, however if you are the only user for your account your contact list should be part of the default group. Otherwise, it should be part of whatever group is set up to have management permissions for the domain.

 

USER ACTION WHAT YOU WILL SEE
STEP 12: Click “Submit” 4

 

USER ACTION WHAT YOU WILL SEE
STEP 13: Now we will configure DNS Failover on the template, Select the Advanced menu and click on “Templates” 4

 

USER ACTION
STEP 14: Select your template from the drop down menu.

 

USER ACTION WHAT YOU WILL SEE
STEP 15: Under the “M / FO” column next to the A record with the IP of 1.2.3.4, click “off” to edit the configuration. 4

 

USER ACTION
STEP 16: Enable System Monitoring and DNS Failover by checking the boxes.

 

USER ACTION
STEP 17: Provide a System Description – this will be included in the notification you receive so you know which system the notification is for.

 

USER ACTION
STEP 18: Select your contact list to be notified of system changes – We select the one we created. The default notification is to the account owner which is the email address on file for the account.

 

USER ACTION
STEP 19: Select a maximum number of emails you would like to receive regarding the name failover event.

 

USER ACTION
STEP 20: Select a Sensitivity Level – The “sensitivity” option in DNS Failover allows users to specify how quickly DNS Failover services change the IP of the monitored system. High Sensitivity means less checks against the system, only three checks are performed to confirm if your system is reachable. Medium Sensitivity (which is the default) makes six immediate checks to confirm if your system is reachable. Low Sensitivity makes nine instantaneous checks to confirm if your system is reachable.

 

USER ACTION
STEP 21: Enter the fully qualified domain name of the system you are monitoring. This is the full host name of the monitored system.

 

USER ACTION
STEP 22: Now configure a port and protocol to monitor based on what criteria you want to confirm is reachable on your system. Here we are configuring the primary IP address of 1.2.3.4 to be monitored on HTTP port 80 and failover to the IP address 1.2.3.5 if the primary is not available.

 

USER ACTION
STEP 23: We have also added a file and string to query for in the HTTP configuration, these fields are optional. The system will query http://1.2.3.4:80/index.html and look for the string of UP in the first 1KB of text on that page. All this criteria must be met for the IP to be considered online. In addition, the web server must reply with a 200 ok response code.

 

USER ACTION
STEP 24: We have also enabled the “Turn off auto-failover after first failure” feature with a check mark. This means that DNS Failover will not revert traffic back to the primary IP address automatically. The current IP will remain 1.2.3.5 until it is manually edited it back to 1.2.3.4.

 

USER ACTION WHAT YOU WILL SEE
STEP 25: Click “Ok” 4

 

USER ACTION
STEP 26: Now we apply the template to domain(s), Select Managed DNS

 

USER ACTION WHAT YOU WILL SEE
STEP 27: Select Managed DNS 4

 

USER ACTION WHAT YOU WILL SEE
STEP 28: Select a domain from the either the “Recently Updated Domains” box, or start typing the domain name in the textbox on the “Select Domain” tab. 4

 

USER ACTION WHAT YOU WILL SEE
STEP 29: Click on the “Settings” tab 4

 

USER ACTION
STEP 30: Select your template from the drop down menu

 

USER ACTION WHAT YOU WILL SEE
STEP 31: Click Save 4