diff --git a/cf-v4-ddns.sh b/cf-v4-ddns.sh index da4fe32..136a18d 100644 --- a/cf-v4-ddns.sh +++ b/cf-v4-ddns.sh @@ -28,15 +28,19 @@ set -o pipefail # API key, see https://www.cloudflare.com/a/account/my-account, # incorrect api-key results in E_UNAUTH error +# 填写 CF全局Global API Key CFKEY= # Username, eg: user@example.com +# 填写 CloudFlare 登陆邮箱 CFUSER= # Zone name, eg: example.com +#填写需要用来 DDNS 的一级域名 CFZONE_NAME= # Hostname to update, eg: homeserver.example.com +# 填写 DDNS 的二级域名(只需填写前缀) CFRECORD_NAME= # Record type, A(IPv4)|AAAA(IPv6), default IPv4