kofemann / livedns4synology

Use Gandi LiveDNS from Synology NAS box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Gandi LiveDNS from Synology NAS box

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.

Installation

  1. Add python3 package to the Synology box
  2. 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
  1. 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

Configuration

You need to provide the following configuration parameters:

  1. FQDN of the host
  2. Username, which is ignored
  3. Gandy API key

License

This work is published under public domain license.

About

Use Gandi LiveDNS from Synology NAS box

License:The Unlicense


Languages

Language:Python 100.0%