diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5383521..ebe4d0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,11 +85,11 @@ jobs: # dnf --refresh --enablerepo=PowerTools install -y \ # automake \ # make \ - # perl-HTTP-Daemon \ - # perl-IO-Socket-INET6 \ - # perl-Test-Warnings \ - # perl-core \ - # ; + # perl-HTTP-Daemon \ + # perl-IO-Socket-INET6 \ + # perl-Test-Warnings \ + # perl-core \ + # ; # - name: autogen # run: ./autogen # - name: configure diff --git a/ddclient.conf.in b/ddclient.conf.in index 164a260..b36b514 100644 --- a/ddclient.conf.in +++ b/ddclient.conf.in @@ -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 diff --git a/ddclient.in b/ddclient.in index fd44f9e..445979f 100755 --- a/ddclient.in +++ b/ddclient.in @@ -2105,7 +2105,7 @@ sub fetch_via_socket_io { } else { $request .= "https://$server" if defined($proxy); } - $request .= "/$url HTTP/1.0\n"; + $request .= "/$url HTTP/1.1\n"; $request .= "Host: $server\n"; if (defined($login) || defined($password)) { @@ -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