Skip to content

ssl=yes gets ignored, ddclient tries to update over http #700

@jameskimmel

Description

@jameskimmel

It seems like the ssl=yes option gets ignored and ddclient uses http to update the IP.

This is my config:

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
ssl=yes \
protocol=dyndns2 \
use=web, web=https://checkipv4.dedyn.io \
server=update.dedyn.io/ \
login=subdomain.mydomain.com \
password='token12345' \
subdomain.mydomain.com

username@wg:~$ sudo ddclient -verbose --force
CONNECT:  checkipv4.dedyn.io
CONNECTED:  using SSL
SENDING:  GET / HTTP/1.1
SENDING:  Host: checkipv4.dedyn.io
SENDING:  User-Agent: ddclient/3.10.0
SENDING:  Connection: close
SENDING:  
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Server: nginx
RECEIVE:  Date: Fri, 12 Jul 2024 15:06:10 GMT
RECEIVE:  Content-Type: text/plain
RECEIVE:  Content-Length: 12
RECEIVE:  Connection: close
RECEIVE:  Strict-Transport-Security: max-age=31536000
RECEIVE:  
RECEIVE:  1.x.x.x
INFO:     forcing update of subdomain.mydomain.com.
INFO:     setting IP address to 1.x.x.x for subdomain.mydomain.com
UPDATE:   updating subdomain.mydomain.com
CONNECT:  update.dedyn.io
CONNECTED:  using HTTP
SENDING:  GET //nic/update?system=dyndns&hostname=subdomain.mydomain.com&myip=1.x.x.x HTTP/1.1
SENDING:  Host: update.dedyn.io
SENDING:  Authorization: Basic asdfasdfasdf=
SENDING:  User-Agent: ddclient/3.10.0
SENDING:  Connection: close
SENDING:  
RECEIVE:  HTTP/1.1 301 Moved Permanently
RECEIVE:  Server: nginx
RECEIVE:  Date: Fri, 12 Jul 2024 15:06:10 GMT
RECEIVE:  Content-Type: text/html
RECEIVE:  Content-Length: 162
RECEIVE:  Connection: close
RECEIVE:  Location: https://update.dedyn.io//nic/update?system=dyndns&hostname=subdomain.mydomain.com&myip=1.x.x.x
RECEIVE:  
RECEIVE:  <html>
RECEIVE:  <head><title>301 Moved Permanently</title></head>
RECEIVE:  <body>
RECEIVE:  <center><h1>301 Moved Permanently</h1></center>
RECEIVE:  <hr><center>nginx</center>
RECEIVE:  </body>
RECEIVE:  </html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions