Ddclient: Difference between revisions

From Alpine Linux
m (Added a "See Also" section with relevant links)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
== 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 prerequisites ==
== Install ==


<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
ddclient is available in community repository as of Alpine Linux 3.19.


cpan Data::Validate::IP</code>
In order to use it, you need to first install it:


== Download DDclient ==
<code># apk update</code>


<code>wget https://sourceforge.net/projects/ddclient/files/latest/download -O ddclient.zip</code>
<code># apk add ddclient</code>


<code>unzip ddclient.zip</code>
== Configuration ==


Copy ddclient from the extracted directory to /usr/bin/.
A sample configuration file is installed by default as <code>/etc/ddclient/ddclient.conf</code>, so you can modify it according to your needs.


Create directories: /etc/ddclient/ and /var/cache/ddclient/.
Then, start ddclient as usual:


Place your personal ddclient.conf in /etc/ddclient/.
<code># rc-service ddclient start</code>


== Install script. ==
If you want/need, configure the service to start automatically on boot:


Includes a ddclient rc script for /etc/init.d/.
<code># rc-update add ddclient default</code>
 
[[File:Ddclient-install.sh]]


== See Also ==
* [https://ddclient.net/ Ddclient Homepage]
* [https://github.com/ddclient/ddclient Ddclient Github repo]


[[Category:Networking]]
[[Category:Networking]]

Latest revision as of 16:17, 23 October 2024

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 community repository as of Alpine Linux 3.19.

In order to use it, you need to first install it:

# apk update

# apk add ddclient

Configuration

A sample configuration file is installed by default as /etc/ddclient/ddclient.conf, so you can 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

See Also