/ddns-synology-docker-to

This is my repository to share my DDNS Docker Image from Synology to specific DNS. Please use freely at your own risk. It's totally OK that you can change this code! But please just mark who made this! :D

Primary LanguageDockerfileMIT LicenseMIT

DDNS Docker Image for Synology NAS (ddns-synology-docker-to)

GitHub license GitHub stars GitHub forks

This Docker package will notify your IP periodically to your Domain Name Server from your Synology NAS.

This is my repository to share my DDNS Docker Image from Synology to specific Domain Name Server.
You should prepare your own domain.

If you can modify Dockerfile, you can fix that Dockerfile for fitting to your system.

Currently Supported Domain Name Server

AWS Lightsail Supported

How To Use

0. Before Use

  1. Go to DSM page of your Synology, Go to 'Package Center'.
    A image of Package Center

  2. Find 'docker' and install that package.
    A image of Docker Package

  3. Run 'Docker' after you install package.
    A image of Docker Icon

1. Easy Way

  1. Go to 'Releases' of this Github page.

  2. Download tar.gz file that you want to use.

  3. Go to your DSM's docker, go to 'Image > Add > Add From File'
    A image of Adding Image 1

  4. Go to 'Upload > Browse' and choose that you downloaded tar.gz, if done, click 'Choose'.
    A image of Adding Image 2

  5. If done, click the image that you uploaded. Then click Run.
    A image of Runnling Image 1

  6. Make your own container name, and click 'Advanced Setting'.
    A image of Runnling Image 2

  7. [OPTIONAL] If you want to make this container reboot automatically, choose that option.
    A image of Runnling Image 3

  8. Go to 'Environment', Change all of options for customizing, except PATH.
    A image of Runnling Image 4

  9. If you done, click Accept. It should works well. You can check on 'Container'.
    A image of Containers

2. Advanced Way (If you can use Dockerfile)

If you can use and change Dockerfile. Just download Dockerfile on the directory and change Dockerfile's setting.

After that, Make image and run on your NAS SSH.

Customizeing For AWS Lightsail DNS SUPPORTED

For using AWS Lightsail DNS CLI, you should prepare IAM User with AWS Lightsail API permission.
You needs AWS Lightsail IAM privileges: GetDomain, UpdateDomainEntry
And also, you need to register your domain and make an A record that you want to use on Lightsail DNS.
For more information, go to AWS API page.

  1. ACCESS_KEY_ID = write_your_access_key_id
    You should write your IAM's Access Key ID.

  2. SECRET_ACCESS_KEY = write_your_secret_access_key
    You should write your IAM's Access Key ID (it's generally more longer).

  3. ENV DOMAIN_NAME = mydomain.net
    Please write your domain. You should register your domain on AWS Lightsail DNS.

  4. ENV RECORD_NAME=example.mydomain.net
    Please write your A record name. You should register A record first time with any other IP.
    Because it just fix your record.

Questions & Bugs & Etc

If you have any problem to use this application, please tell me your problem on GitHub Issues.
But please forgive me for poor programming skills because I'm a hobby programmer. :)

Please use freely at your own risk. It's totally OK that you can change this code! But please just mark who made this! :D