DNS Failover and Monitoring Documentation

You can read more what is DNS Failover and Monitoring checks on this page.

 

Access to the DNS Failover

DNS Failover and Monitoring checks are an optional feature. By default, it is not included in the Free plans. Most of the paid plans support it with a fixed amount of available checks and rules.

 

Supported records

DNS Failover and Monitoring checks are supported both for IPv4 A records and IPv6 AAAA records. Each A and AAAA record can be configured separately, which means that the DNS Failover and Monitoring feature is fully compatible with Round-Robin DNS and GeoDNS configurations.

 

Available monitoring types

Currently, our DNS Failover and Monitoring checks system supports following monitoring types:

  • ICMP Ping - The system sends 12 ICMP ping checks to the given IP address. The packets are 4x 64bytes, 4x 512bytes, and 4x 1024bytes.
    • Ping with 15% threshold - If 15% or more of the packets fails, the check is marked as DOWN.
    • Ping with 25% threshold - If 25% or more of the packets fails, the check is marked as DOWN.
    • Ping with 50% threshold - If 50% or more of the packets fails, the check is marked as DOWN.
  • Web checks - The system makes HTTP(S) request to the given IP address. The hostname, port, and path can be customized.
    • HTTP - Check request is send over HTTP. If the request time outs or the returned response code is not 200, the check is marked as DOWN.
    • HTTPS - Check request is send over HTTPS. If the request time outs or the returned response code is not 200, the check is marked as DOWN.
    • HTTP with custom string in the response - Check request is send over HTTP. If the request time outs or the returned response code is not 200, or the returned response text is not equal to the defined custom string, the check is marked as DOWN.
    • HTTPS with custom string in the response - Check request is send over HTTPS. If the request time outs or the returned response code is not 200, or the returned response text is not equal to the defined custom string, the check is marked as DOWN.
  • TCP - The system makes TCP connection to the given IP address on the chosen port number. If the connection is unsuccessful, the check is marked as DOWN.
  • UDP - The system scans the chosen UDP port number on the given IP address. If the connection is unsuccessful, the check is marked as DOWN.
  • DNS - The system makes DNS query for chosen hostname and query type on the given IP address. If the response is not equal to the expected response, the check is marked as DOWN.

 

Handling of DOWN events

To be marked as DOWN the DNS record should be detected as DOWN from two different checks on two different locations (check nodes). If only a single node returns a DOWN event, but the others report it as UP, the DNS record will not be marked as DOWN.

The DOWN event handlers define what will be happened with the monitored DNS record when it is detected as DOWN. Available options are:

  • Monitoring only - no changes will be applied to the DNS record. You will be notified by e-mail if the DNS record is detected as down.
  • Deactivate the DNS record - if the monitored DNS record is detected as down, it will be deactivated. The option is useful for Round-Robin and GeoDNS configurations.
  • Replace with working IP - it allows up to 5 backup IPs to be defined. If the main DNS record IP is detected as down, the system will check the backup IPs starting from the first till the last. The first IP which is detected as UP and working will be set to the DNS record.

 

Handling of back UP event

To be marked as UP the DNS record should be detected as UP from two different checks on two different locations (check nodes). If only a single node returns a UP event, but the others report is still as DOWN, the DNS record will not be marked as back UP.

The UP event handlers define what will be happened with the monitored DNS record when the main IP address of the DNS record is detected as UP again after it is already marked as down. Available options are:

  • Monitoring only - The DNS record will continue to be monitored, once it is detected as down. No changes will be applied to the DNS record when it is detected as back UP. The monitoring will continue even after the check is detected as UP and you will continue to receive e-mail notifications if the check is going multiple times UP and DOWN.
  • Do not monitor, if the check is back up - When this option is chosen, once the DNS record is detected as DOWN and the down event handler is processed, the DNS record will not be monitored anymore. It will be required to be reactivated manually in order the checks to continue.
  • Activate the main IP, if it is back up - With this option, even the main IP is detected as DOWN, it will continue to be monitored. If the main IP is detected as UP again, it will be reactivated for the DNS record. This option is working both with the down events "Deactivate the DNS record" and "Replace with working IP".

 

Monitoring checks identification

We are monitoring all DNS Failover checks from multiple checks around the world. Here is the full list with our checkers:

  • Australia, Sydney - 45.76.118.140 ; 2001:19f0:5801:75:5400:ff:fe5c:9b82
  • Brazil, Sao Paulo - 191.96.4.63 ; 2803:80:1004:657:8000::
  • Germany, Frankfurt - 185.206.180.85 ; 2a0b:1640:1:1:1:1:396:3e6c
  • India, Pune - 103.250.184.188
  • Portugal, Lisbon - 188.208.143.112
  • Singapore - 45.76.186.80 ; 2001:19f0:4400:47de:5400:ff:fe5c:9b8f
  • South Africa, Johannesburg - 154.127.50.64 ; 2c0f:f738:2004:29f:8000::
  • Spain, Bacelona - 188.241.61.226
  • Ukraine, Kiev - 91.229.78.76
  • USA, Asheville - 67.23.166.109
  • USA, Chicago - 50.7.10.163
  • USA, Dallas - 69.13.49.217
  • USA, Miami - 144.202.39.78 ; 2001:19f0:9002:c4c:5400:1ff:fe62:f8c1
  • USA, South Bend - 206.212.241.163

 

All the checkers can be fetched by DNS with the following hostnames:

IPv4 A record: ipv4.failover.cloudns.net

IPv6 AAAA record: ipv6.failover.cloudns.net

 

HTTP(S) requests made from the monitoring system are with the following User Agent:

Mozilla/5.0 (compatible; ClouDNS/1.0; +https://www.cloudns.net/dns-failover/)

It is possible the version (1.0 for now ) to be changed in future based on the updates of our system.

 

History

For each DNS Failover and Monitoring check, we are recording history both for the executed monitoring checks and for the taken actions on the DNS record. The history is stored for 30 days and can be seen in the control panel for each DNS record for which is activated a DNS Failover and Monitoring check.

 

Activation and deactivation

For all supported DNS record you can activate the DNS Failover and Monitoring check by clicking on the icon:  

Once the DNS Failover is activated, the first monitoring check will be executed within a minute, and the details will be recorded.

The DNS Failover and monitoring check can be deactivated anytime when you need by "Deactivate this DNS Failover and Monitoring check" button.

 

Have a question? Check more on our DNS Failover and Monitoring check page and write to our Technical Support. We will assist you with all the questions you have.


Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more