Difference between revisions of "Ddclient"

From Alpine Linux
Jump to: navigation, search
 
Line 5: Line 5:
 
DDclient is a perl script to update accounts for Dynamic DNS Service Provider. [https://sourceforge.net/projects/ddclient/]
 
DDclient is a perl script to update accounts for Dynamic DNS Service Provider. [https://sourceforge.net/projects/ddclient/]
  
== 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 testing/edge repository.
  
cpan Data::Validate::IP</code>
+
In order to use it, you need first to enable that repository by adding to /etc/apk/repositories:
  
== Download DDclient ==
+
<code># echo http://dl-cdn.alpinelinux.org/alpine/edge/testing</code>
  
<code>wget https://sourceforge.net/projects/ddclient/files/latest/download -O ddclient.zip</code>
+
<code># apk update</code>
  
<code>unzip ddclient.zip</code>
+
<code># apk add ddclient</code>
  
Copy ddclient from the extracted directory to /usr/bin/.
+
== Configuration ==
  
Create directories: /etc/ddclient/ and /var/cache/ddclient/.
+
A sample configuration file is installed by default in <code>/etc/ddclient/ddclient.conf.sample.</code>
  
Place your personal ddclient.conf in /etc/ddclient/.
+
Rename it as <code>/etc/ddclient/ddclient.conf</code> and modify it according to your needs.
  
== Install script. ==
+
Then, start ddclient as usual:
  
Includes a ddclient rc script for /etc/init.d/.
+
<code># rc-service ddclient start</code>
  
[[File:Ddclient-install.sh]]
+
If you want/need, configure the service to start automatically on boot:
 +
 
 +
<code># rc-update add ddclient default</code>
  
  
 
[[Category:Networking]]
 
[[Category:Networking]]

Latest revision as of 15:36, 25 January 2021

How to download and install the latest version of ddclient

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

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