Inadyn as DDNS update client for multiple subdomains

Currently reading
Inadyn as DDNS update client for multiple subdomains

4
0
NAS
DS918+
Operating system
Linux, Windows
Mobile operating system
Android
Hello,

I use lots of sub domains for reverse proxy access to various docker services. DSM is limited to only providing 1 entry per provider. I've been using a cool Inadyn docker image that allows me to update my IP for each of my subdomains from the same provider.

This is the docker image Docker Hub

  1. Firstly create a directory in your docker directory to hold the config file /docker/inadyn for eaxmple
  2. create the conf file in this directory using the example file at the above link. Only copy in the provider & credentials you need, removing the rest. Save the file as inadyn.conf
  3. In docker search the registry for inadyn then download the troglobit/inadyn
  4. Launch the image, give it a name, limit resources if you need. Then in Volume link to your inadyn.conf file location and the mount path as /etc/inadyn.conf read only can be ticked also
  5. Then apply and switch it on. The logs should show succesfuly update to your provider.
If you have multiple sub-domains with the same provider you must add an :ID at the end of each provider name, :1, :2, :3 etc

An example of my conf file using that method:

Code:
# Google Domains - notice use of '@' to update root entry
provider domains.google.com:1 {
    hostname = abc.mydomain.com
    username = username
    password = password
}

# Google Domains - notice use of '@' to update root entry
provider domains.google.com:2 {
    hostname = def.mibox.in
    username = username
    password = password
}

# Google Domains - notice use of '@' to update root entry
provider domains.google.com:3 {
    hostname = hij.mydomain.com
    username = username
    password = password
}


# Google Domains - notice use of '@' to update root entry
provider domains.google.com:4 {
    hostname = klm.mydomain.com
    username = username
    password = password
}
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Trending threads

Top