You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 🆕 New hostname input format: subdomain1.mydomain.com|subdomain2.mydomain.com (each domain is separated by three dashes: |) used to be with --- separator
- 🆕 Hostname input uses a new source of data (account) and support 256 symbols limit (DSM UI limit)
- 🆕 Autodetect IPv4 and IPv6 addresses
- 🆕 Optimised request to Cloudflare API
- 🆕 Installer script
- 🆕 New hostname input format: `subdomain1.mydomain.com|subdomain2.mydomain.com` (each domain is separated by three dashes: `|`) used to be with `---` separator
22
+
- 🆕 Hostname input uses a new source of data (account) and support 256 symbols limit (DSM UI limit)
23
+
- 🆕 Autodetect IPv4 and IPv6 addresses
24
+
- 🆕 Optimised request to Cloudflare API
25
+
- 🆕 Installer script
18
26
19
27
## What this script does
20
28
21
29
* A PHP script for Synology DSM (and potentially Synology SRM devices) adding support for Cloudflare to Network Centre > Dynamic DNS (DDNS).
22
30
* Supports single domains, multidomains, subdomains and regional domains, or any combination thereof (example: dev.my.domain.com.au, domain.com.uk etc)
23
-
* Easy instalation process
31
+
*🆕 Easy installation process (added auto install script)
24
32
* Based on CloudFlare API v4
25
33
*[Supports dual stack IPv4 and IPv6](https://github.com/mrikirill/SynologyDDNSCloudflareMultidomain/pull/13)
26
34
@@ -47,7 +55,7 @@ Before starting the installation process, make sure you have (and know) the foll
47
55
48
56
**Include** > **All zones from an account** > `<domain>`
49
57
50
-
3.*DNS settings:*
58
+
2.*DNS settings:*
51
59
52
60
Ensure the DNS A record(s) for the domain/zone(s) you wish to update with this script have been created (More information: [Managing DNS records](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare)).
53
61
@@ -57,7 +65,7 @@ Before starting the installation process, make sure you have (and know) the foll
If you haven't setup this access, see the following Synology Knowledge Base article:
63
71
[How can I sign in to DSM/SRM with root privilege via SSH?[(https://kb.synology.com/en-id/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet)
@@ -86,30 +94,20 @@ For assistance with vi commands, see:
86
94
87
95
2.**Connect via SSH:** Connect to your supported device via SSH and execute command
**Note:** For SRM users, you must connect to your device as root. No other username will allow these commands to run.
101
109
102
-
3.**Update DDNS provider list:** Using a command line editor, insert the text below to your DMS file (Location : __/etc.defaults/ddns_provider.conf__), to add DDNS support via Cloudflare:
103
-
104
-
```
105
-
[Cloudflare]
106
-
modulepath=/usr/syno/bin/ddns/cloudflare.php
107
-
queryurl=https://www.cloudflare.com/
108
-
```
109
-
110
-
**Note:** For SRM users, break out this [Vim cheat sheet](https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started), as it's the only text editor available to you.
111
-
112
-
4.**Update your DDNS settings:**
110
+
3.**Update your DDNS settings:**
113
111
114
112
a. *For DSM Users:* Navigate to __Control Panel > External Access > DDNS__ then add new DDNS
115
113
@@ -118,20 +116,20 @@ For assistance with vi commands, see:
118
116
Add/Update the DDNS settings screen as follows:
119
117
120
118
* Service provider: Select Cloudflare
121
-
* Hostname:
122
-
For a single domain: __mydomain.com__
123
-
For multiple domains: __subdomain.mydomain.com---vpn.mydomain.com__
124
-
(ensure each domain is seperated by three dashes: ---)
119
+
* 🆕Hostname: this field is not used anymore, you can put any value here
120
+
* Username:
121
+
For a single domain: __mydomain.com__
122
+
For multiple domains: __subdomain.mydomain.com|vpn.mydomain.com__
123
+
🆕(ensure each domain is separated: `|`)🆕
125
124
126
-
__Note: there is 128 symbols limit on Hostname input__
127
-
* Username: The email address you use for logging in to Cloudflare (optional since the API key is sufficient)
125
+
__Note: there is 256 symbols limit on Hostname input__
<small><i><ahref='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
209
-
<small><i><ahref='https://www.youtube.com/watch?v=Nf7m3h11y-s'>DB Tech - creating API keys and using Cloudflare CNAME for single updates</a></i></small>
0 commit comments