Merge branch 'develop' into master
This commit is contained in:
commit
c11d403f4b
3 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2105,7 +2105,7 @@ sub fetch_via_socket_io {
|
||||||
} else {
|
} else {
|
||||||
$request .= "https://$server" if defined($proxy);
|
$request .= "https://$server" if defined($proxy);
|
||||||
}
|
}
|
||||||
$request .= "/$url HTTP/1.0\n";
|
$request .= "/$url HTTP/1.1\n";
|
||||||
$request .= "Host: $server\n";
|
$request .= "Host: $server\n";
|
||||||
|
|
||||||
if (defined($login) || defined($password)) {
|
if (defined($login) || defined($password)) {
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue