Tencent Cloud (DNSPod) DDNS in Docker
2.4K
GitHub link | Docker Hub link
This docker will check the current IP of the machine. If the IP changes, it will update the DNS records on tencent cloud.
docker run -it -e DDNS_RECORDS='@:A' -e DOMAIN=example.com -e TENCENTCLOUD_SECRET_ID=AKID123456 \
-e TENCENTCLOUD_SECRET_KEY=secret-key-stuff -e TENCENTCLOUD_REGION=ap-guangzhou \
allanchain/qcloud-ddns
docker-compose.yml:
version: '3'
services:
ddns:
image: allanchain/qcloud-ddns
container_name: qcloud-ddns
restart: 'unless-stopped'
env_file:
- env.env
network_mode: host
| Name | Example | Description |
|---|---|---|
DDNS_RECORDS | @:A *:AAAA | The records to modify. Should be name@type pair, and separated with a space. |
DOMAIN | example.com | The domain. |
TENCENTCLOUD_SECRET_ID | AKID123456 | |
TENCENTCLOUD_SECRET_KEY | secret-key-stuff | |
TENCENTCLOUD_REGION | ap-guangzhou |
Content type
Image
Digest
sha256:c5c641aae…
Size
39.5 MB
Last updated
almost 4 years ago
docker pull allanchain/qcloud-ddns