Skip to content

Synology DDNS Cloudflare service provider with multidomains and subdomains

Notifications You must be signed in to change notification settings

charlesfinley/SynologyDDNSCloudflareMultidomain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synology DDNS Cloudflare with multidomains and subdomains

Description

  • 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

Before start to use this script

  • Have a Cloudflare account with active domains
  • Have A Records

Example

image

Installation

  1. Activate SSH in DMS (Control Panel -> Terminal & SNMP -> Enable SSH service) image

  2. 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
  1. 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/
  1. 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)

image

  1. Enjoy 🍺

About

Synology DDNS Cloudflare service provider with multidomains and subdomains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%