Skip to content

Conversation

@niklassiemer
Copy link
Contributor

I have some problems with my ddclient updates and consulted the --help. It states that the use= and web= pattern are deprecated in favor of usev${IPVERSION} and webv${IPVERSION}. Since the api.ipify.org/ provides me with a IPv4, I assumed the config is for the v4 version.

@enoch85
Copy link
Member

enoch85 commented Nov 10, 2025

Not tested, but lets do this!

@enoch85 enoch85 merged commit 0ebb664 into nextcloud:main Nov 10, 2025
3 checks passed
@niklassiemer
Copy link
Contributor Author

niklassiemer commented Nov 10, 2025

I now reran the setup of ddclient via the menu.sh script and got the following conf file automatically:

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

# Default system settings
usev4=webv4, webv4=https://api.ipify.org

# Workaround for ddclient 3.10.0+ parsing bug disabled
# The 'curl=yes' option causes "curl not found" errors even with curl installed
# See: https://github.com/ddclient/ddclient/issues/499
# and: https://github.com/nextcloud/vm/issues/2754
# curl=yes

# DDNS-service specific setting
# Provider=deSEC
protocol=dyndns2
server=update.dedyn.io
ssl=yes

# user specific setting
login=$FQDN
password=***

# Hostname follows:
$FQDN

Thus, the change might not have been needed! Thanks for the merge, though :)

However, the setup gave me an error:

WARNING:  '' is not a valid IPv4 or IPv6 address
WARNING:  found neither IPv4 nor IPv6 address
WARNING: $FQDN: unable to determine IP address with strategy use=ip
FATAL:    Error loading the Perl module IO::Socket::SSL needed for SSL connect.
FATAL:    On Debian, the package libio-socket-ssl-perl must be installed.
FATAL:    On Red Hat, the package perl-IO-Socket-SSL must be installed.
FATAL:    On Alpine, the package perl-io-socket-ssl must be installed.

Installing the libio-socket-ssl-perl and ddclient --force finally got my ddclient working.
(I had a wrong DNS server set up at the main install)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants