This small docker container acts as a dynamic DNS implementation for Hosttech.
To build the container yourself, simply clone the repository and then build the container with the provided docker file. You can the run it as described in the section below.
docker build . --tag hosttech-ddns
To run the docker container, you have to give it a couple of environment variables.
docker run -d \
-e ZONE=example.com \
-e DOMAINS=sub1,sub2 \
-e API_KEY=eyJO93mopdns0JA \
--name hosttech-ddns \
ghcr.io/masterevarior/hosttech-ddns:latest
This will update the IP address for the domains sub1.example.com
and sub2.example.com
.
Pull requests, improvements and issues are always welcome.