Skip to content

Latest commit

 

History

History
51 lines (46 loc) · 1.39 KB

README.md

File metadata and controls

51 lines (46 loc) · 1.39 KB

Linode DDNS script for Synology DSM

If you're maintaining your domain on Linode, you can use this script to manage DDNS.

Installation Guide

On Linode

  1. Connect linode.com using your web browser
  2. Log in your account
  3. Add a A record hostname ('Domains' -> [your domain name] -> Add an A/AAAA Record -> .... -> Save)
  4. Then Go to 'My profile' -> 'API Tokens'
  5. Click 'Add a Personal Access Token'
Label: [any name you want.  i.e. DDNS]
Expiry: Never
Access: Domains = Read/Write
  1. Click 'Submit'
  2. Then you can see access token. write it down.

On DSM

  1. Connect to your DSM using SSH terminal client (Putty on Windows)
  2. Be root
sudo su -
[input your password if the password is asked]
  1. Add the following contents to /etc.defaults/ddns_provider.conf file.
[Linode]
        modulepath=/usr/syno/bin/ddns/linode.php
        queryurl=Linode
  1. Download linode.php to /usr/syno/bin/ddns
cd /usr/syno/bin/ddns
curl -O https://raw.githubusercontent.com/cpascal/syno-ddns-linode/master/linode.php
chmod 755 linode.php
  1. Open the DSM Control Panel, External Access, DDNS tab.
  2. Click 'Add'
Service provider: Linode
Hostname: [your DDNS hostname].[your domain]
Username/Email: [your linode domain access token]
Password/Key: [your linode domain access token]
  1. Click 'OK'

Reference