https://github.com/david-lor/docker-duckdns
Docker image to auto-update DuckDNS domains
https://github.com/david-lor/docker-duckdns
ddns docker docker-image dockerfile duckdns
Last synced: 10 months ago
JSON representation
Docker image to auto-update DuckDNS domains
- Host: GitHub
- URL: https://github.com/david-lor/docker-duckdns
- Owner: David-Lor
- License: apache-2.0
- Created: 2019-11-15T23:49:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T20:42:32.000Z (almost 6 years ago)
- Last Synced: 2025-02-03T23:54:53.511Z (12 months ago)
- Topics: ddns, docker, docker-image, dockerfile, duckdns
- Language: Shell
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-DuckDNS
[](https://hub.docker.com/r/davidlor/duckdns)

Docker image to update [DuckDNS](https://www.duckdns.org/) dynamic domains,
according to the [HTTP API specifications](https://www.duckdns.org/spec.jsp).
The image will request the DuckDNS HTTPS API endpoint in loop each X minutes,
updating the IP associated with your domain/s with the IP that performed the request.
Main features:
- Based on `alpine:latest`
- Using `curl` as a non-root user
- Token can be provided using Docker Secrets
## Getting started
Supposing your domain is `mydomain.duckdns.org`:
```bash
docker run -d -e DOMAINS=mydomain.duckdns.org -e TOKEN=abcd1234 -e FREQUENCY=10 davidlor/duckdns
```
- **DOMAINS**: comma-separated list of your duckdns.org domains (required)
- **TOKEN**: your personal DuckDNS token (required or provide using Docker Secret)
- **FREQUENCY**: time to wait between requests, in minutes (default: 15)
### Token using Docker Secrets
The Token can be provided using a Docker Secret called `token`.
See the example with [Docker Compose](examples/duckdns-example-secrets).
The Secret token has more priority than the Env token.
## Changelog
- 0.1: Initial release
## TODO
- Multi-arch support