Rackspace-hosted Dynamic DNS in a docker container (using linickx/rsdns)
275
Rackspace-hosted Dynamic DNS in a docker container (using linickx/rsdns)
The environment variables listed below need to be passed to the docker container for use by the rsdns process. They can be placed in a .env file, or passed via docker or docker-compose command line options:
You can use docker-compose to pull and run a pre-built docker image of this code. With the included docker-compose.yml config file in the current working directory, you can run the image in a container:
docker-compose up rsdns
The output when the container is first run will be:
rsdns | rsdns container has started.
rsdns | crond 4.5 dillon's cron daemon, started with loglevel notice
Once an hour, at the 30-minute mark, the cron service will run the rsdns update service and the docker container will emit a message like:
rsdns | Updating DNS record for domain: your.domainname.com
rsdns | Job status is: RUNNING
rsdns | Job status is: COMPLETED
rsdns |
rsdns | Record A-230981754 updated.
rsdns |
The included file docker-compose.service can be used to allow systemd to control the docker-compose process.
Content type
Image
Digest
Size
16.1 MB
Last updated
over 5 years ago
docker pull sicadaco/rsdns