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:
Krerkkiat Chusap 2021-04-05 12:36:45 -04:00
parent 11a583b003
commit db8b6baca9
2 changed files with 2 additions and 1 deletions

View file

@ -192,7 +192,7 @@ ssl=yes # use ssl-support. Works with
#protocol=cloudflare, \ #protocol=cloudflare, \
#zone=domain.tld, \ #zone=domain.tld, \
#ttl=1, \ #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". #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 #domain.tld,my.domain.tld

View file

@ -4733,6 +4733,7 @@ Example ${program}.conf file entries:
## single host update using an API token ## single host update using an API token
protocol=cloudflare, \\ protocol=cloudflare, \\
zone=dns.zone, \\ zone=dns.zone, \\
login=token, \\
password=cloudflare-api-token \\ password=cloudflare-api-token \\
myhost.com myhost.com