https://github.com/allanchain/qcloud-ddns-docker
Tencent Cloud (DNSPod) DDNS in Docker
https://github.com/allanchain/qcloud-ddns-docker
ddns ddns-updater dnspod dnspod-ddns docker tencent-cloud
Last synced: 4 months ago
JSON representation
Tencent Cloud (DNSPod) DDNS in Docker
- Host: GitHub
- URL: https://github.com/allanchain/qcloud-ddns-docker
- Owner: AllanChain
- Created: 2022-10-19T14:05:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T00:58:04.000Z (over 3 years ago)
- Last Synced: 2025-07-06T18:06:18.255Z (11 months ago)
- Topics: ddns, ddns-updater, dnspod, dnspod-ddns, docker, tencent-cloud
- Language: Shell
- Homepage: https://hub.docker.com/r/allanchain/qcloud-ddns
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tencent Cloud (DNSPod) DDNS in Docker
[GitHub link](https://github.com/AllanChain/qcloud-ddns-docker/) | [Docker Hub link](https://hub.docker.com/r/allanchain/qcloud-ddns/)
This docker will check the current IP of the machine. If the IP changes, it will update the DNS records on tencent cloud.
## Run (Docker)
```sh
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
```
## Run (Docker Compose)
`docker-compose.yml`:
```yaml
version: '3'
services:
ddns:
image: allanchain/qcloud-ddns
container_name: qcloud-ddns
restart: 'unless-stopped'
env_file:
- env.env
network_mode: host
```
## Environments
| 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` | |
| `IPV4_API` | | Default `https://api.ipify.org` |
| `IPV6_API` | | Default `https://api64.ipify.org` |