Sign inSign up

allanchain/qcloud-ddns

By allanchain

Updated almost 4 years ago

Tencent Cloud (DNSPod) DDNS in Docker

Image
0

2.4K

allanchain/qcloud-ddns repository overview

Tencent Cloud (DNSPod) DDNS in Docker

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.

Run (Docker)

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:

version: '3'
services:
  ddns:
    image: allanchain/qcloud-ddns
    container_name: qcloud-ddns
    restart: 'unless-stopped'
    env_file:
      - env.env
    network_mode: host

Environments

NameExampleDescription
DDNS_RECORDS@:A *:AAAAThe records to modify.
Should be name@type pair, and separated with a space.
DOMAINexample.comThe domain.
TENCENTCLOUD_SECRET_IDAKID123456
TENCENTCLOUD_SECRET_KEYsecret-key-stuff
TENCENTCLOUD_REGIONap-guangzhou

Tag summary

Content type

Image

Digest

sha256:c5c641aae

Size

39.5 MB

Last updated

almost 4 years ago

docker pull allanchain/qcloud-ddns