This project aims to provide a dynamic DNS capability for Synology NAS users that use Gandi.net domain name registrar. It based on LiveDNS RESTful API.
- Add python3 package to the Synology box
- Copy script to
/usr/local/bin/livedns.py
and make it executable
$ sudo curl -o /usr/local/bin/livedns.py https://raw.githubusercontent.com/kofemann/livedns4synology/master/livedns.py
$ sudo chmod +x /usr/local/bin/livedns.py
- update
/etc/ddns_provider.conf
and add a new provider:
[USER_Gandi LiveDNS]
modulepath=/usr/local/bin/livedns.py
queryurl=Gandi
NOTE: the provide name must start with
USER_
prefix (since DSM 7.0)
Now on the new provider should be available under Control Panel -> External Access -> DDNS
You need to provide the following configuration parameters:
- FQDN of the host
- Username, which is ignored
- Gandy API key
This work is published under public domain license.