ddclient

sudo apt-get install ddclient

OVH exemple de /etc/ddclient/ddclient.conf :

daemon=43200
ssl=yes
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
login=libox.fr-subdomain
password=mypass
protocol=dyndns2
server=www.ovh.com
subdomain.libox.fr

ddclient sur Alpine-Linux

apk add --no-cache --virtual=build-deps make gcc g++ perl-dev wget
apk add --no-cache perl perl-io-socket-ssl perl-io-socket-inet6
cd /tmp
wget https://cpanmin.us/ -O cpanm
chmod +x cpanm
./cpanm JSON::Any Data::Validate::IP
wget https://downloads.sourceforge.net/project/ddclient/ddclient/ddclient-3.8.3.tar.bz2 -O- | tar xjv
cp ddclient-3.8.3/ddclient /usr/sbin/
apk del --no-cache --purge build-deps

rm -rf /root/.cpanm /tmp

mkdir -p /var/cache/ddclient
mkdir -p /etc/ddclient

Ensuite éditer simplement le fichier de configuration /etc/ddclient/ddclient.conf.

  • system/linux/ddclient.txt
  • Dernière modification: 2019/07/30 19:41
  • (modification externe)