Ddclient: Difference between revisions

From Alpine Linux
m (→‎Install prerequisites: added make, perl-io-socket-ssl, removed docs)
m (update links)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOC right}}
== How to download and install the latest version of ddclient ==
== How to download and install the latest version of ddclient ==


DDclient is a perl script to update accounts for Dynamic DNS Service Provider. [https://sourceforge.net/projects/ddclient/]
[https://github.com/ddclient/ddclient DDclient] is a perl script to update accounts for Dynamic DNS Service Provider.
 
== Install ==
 
ddclient is available in testing/edge repository.
 
In order to use it, you need first to enable that [[Repositories|repository]] by adding to /etc/apk/repositories:


== Install prerequisites ==
<code># echo http://dl-cdn.alpinelinux.org/alpine/edge/testing</code>


<code>apk add wget unzip make perl perl-utils perl-test-taint perl-netaddr-ip perl-net-ip perl-yaml perl-log-log4perl perl-io-socket-ssl
<code># apk update</code>


cpan Data::Validate::IP</code>
<code># apk add ddclient</code>


== Download DDclient ==
== Configuration ==


<code>wget https://sourceforge.net/projects/ddclient/files/latest/download -O ddclient.zip</code>
A sample configuration file is installed by default in <code>/etc/ddclient/ddclient.conf.sample.</code>


<code>unzip ddclient.zip</code>
Rename it as <code>/etc/ddclient/ddclient.conf</code> and modify it according to your needs.


Copy ddclient from the extracted directory to /usr/bin/.
Then, start ddclient as usual:


Create directories: /etc/ddclient/ and /var/cache/ddclient/.
<code># rc-service ddclient start</code>


Place your personal ddclient.conf in /etc/ddclient/.
If you want/need, configure the service to start automatically on boot:


== Install script. ==
<code># rc-update add ddclient default</code>


Includes a ddclient rc script for /etc/init.d/.


[[File:Ddclient-install.sh]]
[[Category:Networking]]

Latest revision as of 22:02, 2 April 2023

How to download and install the latest version of ddclient

DDclient is a perl script to update accounts for Dynamic DNS Service Provider.

Install

ddclient is available in testing/edge repository.

In order to use it, you need first to enable that repository by adding to /etc/apk/repositories:

# echo http://dl-cdn.alpinelinux.org/alpine/edge/testing

# apk update

# apk add ddclient

Configuration

A sample configuration file is installed by default in /etc/ddclient/ddclient.conf.sample.

Rename it as /etc/ddclient/ddclient.conf and modify it according to your needs.

Then, start ddclient as usual:

# rc-service ddclient start

If you want/need, configure the service to start automatically on boot:

# rc-update add ddclient default