- A PHP script for Synology DSM which adds Cloudflare DDNS support in your DMS
- Supports multidomains, subdomains and also regional domains (example: dev.my.domain.com.au, domain.com.uk etc)
- Easy instalation process
- Based on CloudFlare API v4
- Have a Cloudflare account with active domains
- Have A Records
-
Activate SSH in DMS (Control Panel -> Terminal & SNMP -> Enable SSH service)
-
Connect via SSH and execute command
wget https://raw.githubusercontent.com/mrikirill/SynologyDDNSCloudflareMultidomain/master/cloudflare.php -O /usr/syno/bin/ddns/cloudflare.php && sudo chmod 755 /usr/syno/bin/ddns/cloudflare.php
- Add Cloudflare to the list of DDNS providers DMS file(Location : /etc.defaults/ddns_provider.conf)
[Cloudflare]
modulepath=/usr/syno/bin/ddns/cloudflare.php
queryurl=https://www.cloudflare.com/
- Than go to DMS settingS Control Panel -> External Access -> DDNS and add new DDNS:
- Select Cloudflare as a service provider
- Set in hostname field your list of domains divided by --- example: mydoman.com---subdomain.mydomain.com---vpn.mydomain.com or simple: mydomain.com
- Set your Cloudflare acoount email into Username/Email field
- Set Cloudflare Global API Key into Password/Key field (See: https://dash.cloudflare.com/profile/api-tokens)
- Enjoy 🍺