Added support for cloudflare API tokens. (#102)
* Added support for cloudflare API tokens. Do not provide a login if using one. The token must have permissions for All zones - Zone:Read, DNS:Edit. * Fixed the grammar in the comments. Co-authored-by: Greg Best <greg@NinjaCatServer>
This commit is contained in:
parent
45ae9913f9
commit
18cc3a99e9
2 changed files with 261 additions and 250 deletions
|
@ -1,5 +1,5 @@
|
|||
######################################################################
|
||||
##
|
||||
##
|
||||
## Define default global variables with lines like:
|
||||
## var=value [, var=value]*
|
||||
## These values will be used for each following host unless overridden
|
||||
|
@ -12,7 +12,7 @@
|
|||
## with a \
|
||||
##
|
||||
##
|
||||
## Warning: not all supported routers or dynamic DNS services
|
||||
## Warning: not all supported routers or dynamic DNS services
|
||||
## are mentioned here.
|
||||
##
|
||||
######################################################################
|
||||
|
@ -48,7 +48,7 @@ ssl=yes # use ssl-support. Works with
|
|||
#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
|
||||
#
|
||||
## To obtain an IP address from Web status page (using the proxy if defined)
|
||||
## by default, checkip.dyndns.org is used if you use the dyndns protocol.
|
||||
## by default, checkip.dyndns.org is used if you use the dyndns protocol.
|
||||
## Using use=web is enough to get it working.
|
||||
## WARNING: set deamon at least to 600 seconds if you use checkip or you could
|
||||
## get banned from their service.
|
||||
|
@ -210,8 +210,8 @@ ssl=yes # use ssl-support. Works with
|
|||
#protocol=cloudflare, \
|
||||
#zone=domain.tld, \
|
||||
#ttl=1, \
|
||||
#login=your-login-email, \
|
||||
#password=APIKey \
|
||||
#login=your-login-email, \ # Only needed if you are using your global API key.
|
||||
#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
|
||||
|
||||
##
|
||||
|
@ -225,7 +225,7 @@ ssl=yes # use ssl-support. Works with
|
|||
##
|
||||
## Duckdns (http://www.duckdns.org/)
|
||||
##
|
||||
#
|
||||
#
|
||||
# password=my-auto-generated-password
|
||||
# protocol=duckdns hostwithoutduckdnsorg
|
||||
|
||||
|
@ -239,7 +239,7 @@ ssl=yes # use ssl-support. Works with
|
|||
|
||||
##
|
||||
## MyOnlinePortal (http://myonlineportal.net)
|
||||
##
|
||||
##
|
||||
# protocol=dyndns2
|
||||
# ssl=yes
|
||||
# # ipv6=yes # optional
|
||||
|
|
Loading…
Reference in a new issue