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.
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. Please, note, the IPv6 monitored servers must be added as extended IPv6 addresses with your AAAA records in your DNS zone. The compressed IPv6 form may cause a false downtime alert.
|Compressed IPv6 Sample
||Expanded IPv6 Sample
You can use the monitoring regions to configure your records to be monitored only from a specific area. Here are the options:
- Global - this is the default option, it sets your failover record to be monitored from all nodes globally.
- Europe - your failover record will be monitored only from nodes located in Europe.
- North America - your failover record will be monitored only from nodes located in North America (USA and Canada).
Monitoring regions are great options if you are runing GeoDNS and you want to monitor your nodes from the closest locations.
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 happen 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:
- South Africa, Johannesburg - 220.127.116.11 ; 2c0f:f738:3802:61::1
- Australia, Sydney - 18.104.22.168 ; 2001:19f0:5801:75:5400:ff:fe5c:9b82
- Australia, Sydney 2 - 22.214.171.124
- Hong Kong - 126.96.36.199
- India, Bengaluru - 188.8.131.52 ; 2400:6180:100:d0::8d1:d001
- India, Mumbai - 184.108.40.206
- India, Pune - 220.127.116.11
- Japan, Osaka - 18.104.22.168
- Japan, Tokyo - 22.214.171.124 ; 2001:19f0:7001:2686:5400:1ff:fedd:88be
- Singapore - 126.96.36.199 ; 2001:19f0:4400:47de:5400:ff:fe5c:9b8f
- Singapore 2 - 188.8.131.52 ; 2400:6180:0:d1::526:4001
- Finland, Hamina - 184.108.40.206
- Finland, Hesinki - 220.127.116.11
- France, Paris - 18.104.22.168 ; 2001:19f0:6801:1f1c:5400:1ff:fedd:88d0
- France, Paris 2 - 22.214.171.124
- Germany, Falkenstein - 126.96.36.199 ; 2a01:4f8:1c17:6262::1
- Germany, Frankfurt - 188.8.131.52 ; 2a0b:1640:1:1:1:1:396:3e6c
- Germany, Frankfurt 2 - 184.108.40.206 ; 2a00:c98:2200:af0e:3::1
- Netherlands, Amsterdam - 220.127.116.11 ; 2a03:b0c0:2:d0::657:1
- Netherlands, Amsterdam 2 - 18.104.22.168
- Portugal, Lisbon - 22.214.171.124
- Romania, Bucharest - 126.96.36.199
- Russian Federation, Moscow - 188.8.131.52
- Spain, Bacelona - 184.108.40.206
- Ukraine, Kiev - 220.127.116.11
- United Kingdom, London - 18.104.22.168
- Canada, Toronto - 22.214.171.124 ; 2001:19f0:b001:91b:5400:1ff:fedd:89d1
- Canada, Montreal - 126.96.36.199
- United States, Asheville - 188.8.131.52
- United States, Chicago - 184.108.40.206
- United States, Dallas - 220.127.116.11
- United States, Dallas 2 - 18.104.22.168
- United States, Fremont - 22.214.171.124
- United States, Miami - 126.96.36.199 ; 2001:19f0:9002:c4c:5400:1ff:fe62:f8c1
- United States, Oregon - 188.8.131.52
- United States, San Francisco - 184.108.40.206 ; 2604:a880:2:d0::1f6f:e001
- United States, San Francisco 2 - 220.127.116.11 ; 2605:fe80:2100:a013:10::1
- United States, Seattle - 18.104.22.168 ; 2001:19f0:8001:15e2:5400:1ff:fedd:87eb
- United States, South Bend - 22.214.171.124
- United States, Washington D.C. - 126.96.36.199 ; 2604:9a00:2100:b001:6::1
- Brazil, Sao Paulo - 188.8.131.52 ; 2803:80:8001:23c::1
- Brazil, Sao Paulo 2 - 184.108.40.206
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.
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.