阿里云域名DNS更新
.github/workflows | ||
alidns.go | ||
config.json | ||
LICENSE | ||
README.md |
alidns
update domain record using AliCloud Go SDK.
Usage
- Create a AccessKey at https://usercenter.console.aliyun.com/.
- Fill in
config.json
the AccessKey, secret, and the domain you'd setup. - To compile, just run
go build alidns.go
. Rungo mod init alidns
first if needed. - If provided correct config file, things should work fine.
ip is fetched from http://ip-api.com/json