From ebe95cc65e20a33dbf7d274b60e6be4b0e2ac2a2 Mon Sep 17 00:00:00 2001 From: wjc Date: Sat, 26 Dec 2020 14:06:12 +0800 Subject: [PATCH] update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6324c65..db706e5 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,11 @@ update domain record using AliCloud Go SDK. ip is fetched from http://ip-api.com - First, create an AccessKey at https://usercenter.console.aliyun.com/. - 在[此处](https://usercenter.console.aliyun.com/)申请AccessKey。 - Then fill in `config.json` the AccessKey, AccessSecret, and the domain you want to setup. -- 在 `config.json`文件中填入AccessKey和AccessSecret,以及需要更新的域名 +- 在 `config.json`文件中填入AccessKey和AccessSecret,以及需要更新的域名、主机记录。 - Run `alidns`. If provided correct config file, things should work fine. - 运行`alidns`程序。如果config.json配置文件信息正确,会输出success信息。 - +- (config file defaults to `./config.json`. To specify another config file, run `alidns -config /path/to/config.json`) +- (默认配置文件为`./config.json`,如需自定义配置文件,执行`alidns -config /path/to/config.json`) > To compile from source > - Install Aliyun Go SDK by running `go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk`. > - Run `go build alidns.go`. *Run `go mod init alidns` if needed.*