Update cf-v4-ddns.sh

This commit is contained in:
jagdd 2025-01-20 21:43:29 +08:00 committed by GitHub
parent 1336b077a2
commit c4336254c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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