This repository was archived by the owner on Jan 29, 2024. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork174
📜 Cloudflare DDNS script for Synology
License
NotificationsYou must be signed in to change notification settings
joshuaavalon/SynologyCloudflareDDNS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The is a script to be used to addCloudflare as a DDNS toSynology NAS. The script used an updated API, Cloudflare API v4.
- Login to your DSM
- Go to Control Panel > Terminal & SNMP > Enable SSH service
- Use your client to access Synology via SSH.
- Use your Synology admin account to connect.
- Download
cloudflareddns.sh
from this repository to/sbin/cloudflareddns.sh
wget https://raw.githubusercontent.com/joshuaavalon/SynologyCloudflareDDNS/master/cloudflareddns.sh -O /sbin/cloudflareddns.sh
It is not a must, you can put I whatever you want. If you put the script in other name or path, make sure you use the right path.
- Give others execute permission
chmod +x /sbin/cloudflareddns.sh
- Add
cloudflareddns.sh
to Synology
cat >> /etc.defaults/ddns_provider.conf << 'EOF'[Cloudflare] modulepath=/sbin/cloudflareddns.sh queryurl=https://www.cloudflare.com website=https://www.cloudflare.comE*.
queryurl
does not matter because we are going to use our script but it is needed.
- Go to your domain overview page and copy your zone ID.
- Go to your profile >API Tokens >Create Token. It should have the permissions of
Zone > DNS > Edit
. Copy the api token.
- Login to your DSM
- Go to Control Panel > External Access > DDNS > Add
- Enter the following:
- Service provider:
Cloudflare
- Hostname:
www.example.com
- Username/Email:
<Zone ID>
- Password Key:
<API Token>
- Service provider:
About
📜 Cloudflare DDNS script for Synology
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.