Installer DDClient

Via https://github.com/ddclient/ddclient

Après avoir cloné le dépôt :

wget -O /usr/sbin/ddclient https://raw.githubusercontent.com/ddclient/ddclient/master/ddclient
mkdir /etc/ddclient
mkdir /var/cache/ddclient
wget -O /etc/ddclient/ddclient.conf https://raw.githubusercontent.com/ddclient/ddclient/master/sample-etc_ddclient.conf
nano /etc/ddclient/ddclient.conf

Je me retrouve pour OVH avec un ddclient.conf du style :

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

daemon=600
ssl=yes
syslog=yes
mail=root
mail-failure=root
pid=/var/run/ddclient.pid
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
login=libox.fr-subdomain
password=subdomain-password
protocol=dyndns2
server=www.ovh.com
#wildcard=no
subdomain.libox.fr

Le service

#On copie la configuration du service
wget -O /etc/init.d/ddclient https://raw.githubusercontent.com/ddclient/ddclient/master/sample-etc_rc.d_init.d_ddclient.alpine
chmod +x /etc/init.d/ddclient
#On l'ajoute
rc-update add ddclient
#On vérifie tout de même la présence de Perl
apk add perl
#On démarre le service vérifier que tout OK
rc-service ddclient start