Dynamic DNS configuration with Synology

Web Interface Setup:

Open the DNS zone that you want to connect with Dynamic DNS. Find the A record that you want to be updated dynamically and click on the arrows on the row for this record. You will see the Dynamic URL for uthe pdate of the record.

You must configure ClouDNS as a Customized Provider in your Synology NAS device with the URL below:

https://ipv4.cloudns.net/api/dynamicURL/?q=__PASSWORD__&ip=__MYIP__

The following data should be filled in the DDNS settings:

Service provider: ClouDNS (this is the name you have configured as a custom provider)
Hostname: (hostname of the DNS record)
Username/Email: (your account’s email address)
Password/Key: generated_key (the key that has been generated when you click on the arrows. You will get the following URL: https://ipv4.cloudns.net/api/dynamicURL/?q=generated_key (the key is located after ?q=))

Note that __PASSWORD__ and __MYIP__ are variables and you must enter them like that, not to change them to a password and an IP address.

Note: Please, be aware that you could get easily confused with CloudNS, which is a different provider. You should ignore CloudNS and set CloudDNS manually.

Cronjob through SSH:

Connect to your Synology device through SSH and:

1) Open the crontab with the following command:

crontab -e

2) Add the following line to the end of the file:

0 * * * * wget -q ---delete-after --read-timeout=0.0 --waitretry=5 --tries=400 --background https://ipv4.cloudns.net/api/dynamicURL/?q=generated_key

3) save the file, usually it is opened with the text editor "nano", so you can do this by Ctrl+X, Y and Enter.

Cronjob through Web Interface:

A cron job can also be scheduled from the Control Panel of your Synology device.

Open Control Panel and select Task Scheduler. Then, click on Create and select User-defined script. Type a name for your new task, make sure the user is root, and fill in the following command:

wget -q ---delete-after --read-timeout=0.0 --waitretry=5 --tries=400 --background https://ipv4.cloudns.net/api/dynamicURL/?q=generated_key

Once you add it, click on the Schedule tab and set the frequency to "Every hour".


Last modified: 2025-08-05
We value your privacy! We use cookies to enhance your browsing experience, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Cookie Policy.