Ddclient: Difference between revisions

From Alpine Linux
m (Added a "See Also" section with relevant links)
 
(6 intermediate revisions by 5 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 ==


== Install prerequisites ==
ddclient is available in community repository as of Alpine Linux 3.19.


<code>apk add wget wget-doc unzip unzip-doc make perl perl-doc perl-utils perl-test-taint perl-test-taint-doc perl-netaddr-ip perl-netaddr-ip-doc perl-net-ip perl-net-ip-doc perl-yaml perl-yaml-doc perl-log-log4perl perl-log-log4perl-doc perl-io-socket-ssl
In order to use it, you need to first install it:


cpan Data::Validate::IP</code>
<code># apk update</code>


== Download DDclient ==
<code># apk add ddclient</code>


<code>wget https://sourceforge.net/projects/ddclient/files/latest/download -O ddclient.zip</code>
== Configuration ==


<code>unzip ddclient.zip</code>
A sample configuration file is installed by default as <code>/etc/ddclient/ddclient.conf</code>, so you can 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/.
== See Also ==
* [https://ddclient.net/ Ddclient Homepage]
* [https://github.com/ddclient/ddclient Ddclient Github repo]


[[File:Ddclient-install.sh]]
[[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