Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Using Infomaniak DynDNS and ddclient (Linux)

Update 08/07/2026

This guide explains how to configure ddclient, a tool available on most Linux distributions, to use it with the Infomaniak DynDNS service.

 

Prerequisites

  • Install the ddclient package for your distribution (e.g., sudo apt install ddclient).
  • Have a DynDNS record already created on the domain or subdomain to be updated.
  • Make sure the SSL module for Perl is installed: sudo apt install libio-socket-ssl-perl.

 

ddclient configuration

The configuration file /etc/ddclient.conf must contain the following information:

protocol=dyndns2
ssl=yes
use=web
server=infomaniak.com
login=enter_your_login
password=enter_your_password
yourdomain.xyz
  • ssl=yes: enables a secure connection. This parameter is required for the update to function correctly.
  • use=web: instructs ddclient to use an external service to automatically detect your public IP address.
  • login / password: DynDNS credentials defined in the Infomaniak Manager when adding the Dynamic DNS (help).
  • yourdomain.xyz: replace with your domain or subdomain for DynDNS.

 

Test and verification

Before running ddclient as a service, you can test the configuration with:

sudo ddclient -daemon=0 -verbose -debug

If the configuration is correct, you will see a message such as SUCCESS: updating yourdomain.xyz.

 

Starting the service

Once the configuration is validated, restart and activate ddclient:

sudo systemctl restart ddclient
sudo systemctl enable ddclient

You can check its status with:

sudo systemctl status ddclient

 

But also:

  • Protect the configuration file with: sudo chmod 600 /etc/ddclient.conf.
  • Regularly check that the IP address is being updated correctly by performing a DNS lookup (dig yourdomain.xyz or nslookup).
  • If your IP address does not change frequently, keep a reasonable refresh interval to avoid unnecessary requests.

Has this FAQ been helpful?