Sign inSign up

stilleshan/ddns-dnspod

By stilleshan

•Updated over 4 years ago

基于腾讯云 dnspod.cn DDNS 的 docker 镜像,新增同时支持 X86 和 ARM 架构.

Image
1

2.7K

stilleshan/ddns-dnspod repository overview

⁠ddns-dnspod

GitHub stilleshan/dockerfiles⁠
Docker stilleshan/ddns-dnspod⁠

docker image support for X86 and ARM

⁠简介

基于腾讯云 dnspod.cn DDNS 的 docker 镜像.

⁠更新

2021-06-11 更新 docker 镜像,新增同时支持 X86 和 ARM 架构.

⁠部署

⁠docker
docker run -d \
    --name=ddns-dnspod \
    --restart=always \
    -e "login_token=token_id,token" \
    -e "domain=domain.com" \
    -e "sub_domain=www" \
    -e "interval=10" \
    -e "ip_count=1" \
    stilleshan/ddns-dnspod
⁠docker compose

下载 docker-compose.yml⁠ 执行以下命令启动:

docker-compose up -d
⁠配置
  • login_token: 填写dnspod.cn申请的API TOKEN
  • domain: 填写根域名
  • sub_domain: 填写子域名
⁠示例

使用二级域名来作为 ddns 域名,例如以下示例使用 ddns.ioiox.com ,需要使用的正式域名添加 CNAME 指向 ddns.ioiox.com 即可.

docker run -d \
    --name=ddns-dnspod \
    --restart=always \
    -e "login_token=123456,5MTlmZRFZrWkdFMVTU2VFE9PX" \
    -e "domain=ioiox.com" \
    -e "sub_domain=ddns" \
    -e "interval=10" \
    -e "ip_count=1" \
    stilleshan/ddns-dnspod

⁠参考

Tag summary

Content type

Image

Digest

Size

18.2 MB

Last updated

over 4 years ago

docker pull stilleshan/ddns-dnspod