Synology configures DDNS to enable access to the private cloud using your own domain name – CloudNS solution

I previously set up a private cloud Building Your Own Private Cloud – Synology DS216+II Experience I've always wanted to set up DDNS, but since my Cloudflare service doesn't support it, I haven't had time to research it. I did some research today and am sharing it with you all:

This implementation uses CloudNS

  • Register a CloudNS account, add a DNS Zone, and select the Master Zone.
  • Enter the domain name, and point the NS of the subdomain (or root domain) to the NS server he provided.

Synology设置DDNS实现使用自己的域名访问私有云 - CloudNS方案 - WX20180703 - Jake blog

  • After creating it, add an A record (note that if your NS uses xxx.xxx.com, you can only create abc.xxx.xxx.com), give it any IP address (ideally your current private cloud IP address), and then click the small arrow on the right.

Synology设置DDNS实现使用自己的域名访问私有云 - CloudNS方案 - WX20180703 - Jake blog

  • Then click "active," and you'll be given a URL. Try copying it and opening it in your browser. If it says "OK," then the setup was successful.
  • Log in to the Synology private cloud server, open "External Access" in the "Control Panel," click "Custom" under "DDNS," fill in the service provider CloudNS, and enter the following query: https://ipv4.cloudns.net/api/dynamicURL/?q=__PASSWORD__&ip=__MYIP__
  • After saving, click "Add DDNS" and fill in the following information:
    • Service Provider: Select the newly added CloudNS
    • Hostname: Enter the domain name you just created, abc.xxx.xxx.com
    • Email address: Please write your email address; we will send you an email.
    • Key: Remember the link you opened in your browser before? ?q=key. Enter it.
  • After adding it, it will show a normal message. Use your browser to log in to the domain to test, and you're all done!
  • Since DDNS uses dynamic IPs, a scheduled task needs to be created to update it. This task can be created on any server, but it's recommended to host it on a private cloud. Go to Control Panel -> Scheduled Tasks, add a script task, and run the code (remember to replace the key).
0 * * * * wget -q --read-timeout=0.0 --waitretry=5 --tries=400 --background https://ipv4.cloudns.net/api/dynamicURL/?q=generated_key

This siteOriginal articleAll follow "Attribution-NonCommercial-ShareAlike 4.0 License (CC BY-NC-SA 4.0)Please retain the following annotations when sharing or adapting:

Original author:Jake Tao,source:"Synology Configures DDNS to Access Private Cloud Using Your Own Domain – CloudNS Solution"

230
0 1 230

Further Reading

Post a reply

Log inYou can only comment after that.

Comment list (1 item)

Share this page
Back to top