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
An example of my conf file using that method:
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
- Firstly create a directory in your docker directory to hold the config file /docker/inadyn for eaxmple
- 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
- In docker search the registry for inadyn then download the troglobit/inadyn
- 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
- Then apply and switch it on. The logs should show succesfuly update to your provider.
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
}