Skip to content

JerryLocke/AliyunDDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AliyunDDNS

A simple DDNS client written in Golang for Aliyun

Usage

  1. Obtain AccessKeyId and AccessKeySecret from the Aliyun AK Console. For safety reasons, I recommend you use Aliyun RAM console to generate these parameters, but do not forget to grant the AliyunDNSFullAccess policy.
  2. Edit config.json file according to your own configuration.
    1. AccessKeyId and AccessKeySecret are obtained in the first step.
    2. Domain and SubDomain combined is the final domain name to be updated.
    3. TTL means the DNS record TTL value.
    4. Duration means the interval of each update. Also, When an update fails, it will retry after 60 seconds.
  3. Run go build aliyunddns.go or download the executable for your platform from the Releases Page.
  4. Run the executable generated from the previous step.

License

The MIT License


阿里云 DDNS 客户端

由 Go 语言编写的简易阿里云 DDNS 客户端

使用方法

  1. 阿里云 AK 控制台 取得 AccessKeyIdAccessKeySecret。为了安全起见,推荐使用 阿里云 RAM 控制台 生成该参数,但要注意赋予 AliyunDNSFullAccess 权限。
  2. 根据自己的实际配置编辑 config.json 文件。
    1. 依次填入从第一步中取得的 AccessKeyId AccessKeySecret
    2. Domain SubDomain 分别为域名和子域名,组成最终将要更新的域名。
    3. TTL 为 DNS 记录的 TTL 值。
    4. Duration 为每次更新 DNS 记录的间隔。注意,如果更新失败,将在60秒后重试。
  3. 运行 go build aliyunddns.go 或从 发布页面 下载适用于你的平台的可执行文件。
  4. 运行从上一步编译生成的可执行文件。

About

A simple DDNS client written in Golang for Aliyun

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages