modify Cloudflare documentation
It seems that ddclient check if the login field is equal to "token" to use the correct header for the API token.
This commit is contained in:
parent
11a583b003
commit
db8b6baca9
2 changed files with 2 additions and 1 deletions
|
@ -192,7 +192,7 @@ ssl=yes # use ssl-support. Works with
|
|||
#protocol=cloudflare, \
|
||||
#zone=domain.tld, \
|
||||
#ttl=1, \
|
||||
#login=your-login-email, \ # Only needed if you are using your global API key.
|
||||
#login=your-login-email, \ # Only needed if you are using your global API key. If you are using an API token, set it to "token" (wihtout double quotes).
|
||||
#password=APIKey \ # This is either your global API key, or an API token. If you are using an API token, it must have the permissions "Zone - DNS - Edit" and "Zone - Zone - Read". The Zone resources must be "Include - All zones".
|
||||
#domain.tld,my.domain.tld
|
||||
|
||||
|
|
|
@ -4733,6 +4733,7 @@ Example ${program}.conf file entries:
|
|||
## single host update using an API token
|
||||
protocol=cloudflare, \\
|
||||
zone=dns.zone, \\
|
||||
login=token, \\
|
||||
password=cloudflare-api-token \\
|
||||
myhost.com
|
||||
|
||||
|
|
Loading…
Reference in a new issue