qdm12 / ddns-updater

Container to update DNS records periodically with WebUI for many DNS providers
https://hub.docker.com/r/qmcgaw/ddns-updater/
MIT License
1.77k stars 167 forks source link

Feature request: Add support for Aliyun #234

Closed YueMiyuki closed 3 years ago

YueMiyuki commented 3 years ago
  1. What's the feature? add ddns support for aliyun dns
fredericrous commented 3 years ago

hi @ItzMiracleOwO there is a pull request opened here https://github.com/qdm12/ddns-updater/pull/209 for that it's not merged however so not available on docker hub but you could pull that branch and build the container

qdm12 commented 3 years ago

Provided you have docker and git installed, you can build that branch with:

docker build -t qmcgaw/ddns "https://github.com/zzzhouuu/ddns-updater.git#feature/aliyun"

Note it's from another repository so feel free to comment on #209 if there is an issue, since I can't really do something about it. I'll get to it sometime, although right now I'm low on time to add more providers unfortunately.

@fredericrous and I agree, we'll use Aliyun's Go sdk for now. I'll finish a branch I was working on sometime soon hopefully.

fredericrous commented 3 years ago

@qdm12 the branch is on another repo but we can commit on it apparently 🤣

qdm12 commented 3 years ago

I reworked the code in 8a14828cdc5a6e311788f479c5745ff26ce6aebe to have no SDK dependency and only do http calls to their API directly. The Docker image is available qmcgaw/ddns-updater:aliyun-nosdk, maybe @ItzMiracleOwO can you try it sometime? Thanks!