How to set and use D-Monitor?
What is D-Monitor?
D-Monitor: when one of your host servers is down, D-Monitor can help you switch to another available spare server. After the downtime is restored, it will automatically switch back to the original IP. (Note: DNSPod system disables D-Monitor as default. You need to enable it by yourself.)
Detection principles: we will send an HTTP request to the target server, if and only if we get absolutely no answer, we will regard the server as being down and do the relevant process. (Please note that: Error 403 may cause only warning but not switching IP, whereas Error 500 and more will alert you downtime and do switching relatively.)
When will D-Monitor be used?
(1) Please note that: D-Monitor can switch to the spare server in time but can make sure it take effect immediately, which is due to the cache of DNS records that always need some time to refresh.
(2) If you worry about your servers will go down without anyone’s maintenance, or if you are too busy to manually replace it to backup server, or if you just want to be light-hearted about your webhosts, in any case, you can try to use D-Monitor. It will never fail you.
How to make it work?
Now D-Monitor can support A records and CNAME records.
(1) Login to DNSPod website
(2) Click D-Monitor on the top of page
(3) Click the big green button
Note: all the steps above will be only shown at the first time.
(4) Set up the monitoring settings as essential
You can choose the similar line nodes as your servers for monitoring.
For monitoring more accurate, you can add the following IPs to your whitelist.
PCCW, HK 220.127.116.11
PCCW, HK 18.104.22.168
HE, CA, US 22.214.171.124
HE, CA, US 126.96.36.199
Telecom, Hangzhou, CN 188.8.131.52
Here you can set the monitoring rates according to your demands, one request every 3 seconds as default.
Host: the HTTP Host request-header field you want to be set when monitor-agent detecting your website.
Path: A particular resource path
Port: The server port number to access through, default to be 80
HTTPS: Whether using HTTPS protocol to detect your website
TTL settings: as D-Monitor is enabled, system will help you set TTL as 10(s), in order to make sure local ISPs could update your down server to new IP timely. If you don’t want the default setting to be changed, you can tick ‘DO NOT change TTL value’ on the page.
(5) Click ‘OK’ to finish the process.
(1) Why didn’t it switch to the spare server immediately when the main one went done?
The effective time = D-Monitor times + TTL time of the A record
It needs at least 3 minutes to switch to the backup server.
If you want to make it effect promptly, you can set D-Monitor times as 3 and TTL as 100 depending on you.
(2) Why didn’t it switch when the server went done and not switch either when it was restored again?
If you meet problems like these, you can contact us and we will help you solve it promptly.