Nethserver-ddclient

I can confirm that with noip.com works perfectly. Thank you!

2 Likes

Hi,

I want ddclient for a new NethServer, but I can’t install because the repository is down.

Can anyone help me?

Thanks,
Marcelo Costa

If the nethserver-ddclient RPM comes from a third-party repository only the repository owner (@stephdl?) can help you!

On the other hand, we can build the RPM from source code and upload to nethforge-testing. Despite what this old issue says, I’ve not found the RPM in nethforge/nethforge-testing :frowning:

could you try… see the repository part

2 Likes

Hi,

I following this post Help in testing mirror/repo and works with dz00te repo.

Thanks,
Marcelo Costa

1 Like

@stephdl - once more thanks for great job! :slight_smile:

Just to make the provider list longer (and make me happy). Is it possible to add DNSexit?
https://www.dnsexit.com/Direct.sv?cmd=ipClients

Thanks again!

1 Like

can you provide us the configuration you used please ?

EDIT : it seems that your dynamic provider cannot be used easily with ddclient, see https://sourceforge.net/p/ddclient/discussion/399428/thread/04e23ee6/

Is ovh supported? :slight_smile:

if you spoke about dynhost (ovh.com) I think so

1 Like

I try to use ddclient with cloudflare but i got this error

FATAL: Error loading the Perl module JSON::Any needed for cloudflare update.

How i can install perl-json module??

Thk in advance

Regards

Try this:

protocol=cloudflare
server=www.cloudflare.com

Info: https://www.cloudflare.com/resources-downloads/

Firts, i don’t have your screen for the configuration.
Secound, the problema is when start the services

ddclient -daemon=0 -debug -verbose -noquiet
FATAL: Error loading the Perl module JSON::Any needed for cloudflare update.

Sorry, I thought you had already installed following this topic:

from the terminal:

cat << ‘EOF’ > /etc/yum.repos.d/dz00te.repo
[dz00te]
name=dz00te repository for nethserver $releasever - $basearch
baseurl=http://mirror.framassa.org/NethServer/$releasever
enabled=0
gpgcheck=1
gpgkey=http://mirror.framassa.org/NethServer/RPM-GPG-KEY-dz00te
EOF

Then:

yum --enablerepo=dz00te install nethserver-ddclient

try what I said and let us know

Regards

Hi @dz00te and @stephdl need your opinions with this configuration:

Cloudflare not on the list ddclient and requires special configuration.

Add in GitHub: (/root/usr/share/nethesis/NethServer/Template/DdClient/DdClient.php
)

->insert($view->radioButton(‘DynDns’, ‘CLOUDFLARE’))

Add in GitHub: (/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/20Declaration
)

elsif( $dns eq ‘CLOUDFLARE’)
{
$explain=‘## cloudflare dns static’;
$protocol=‘cloudflare’;
$server = ‘www.cloudflare.com
}

Dynamic DNS hostname =
registered domain cloudflare

Login = registered mail cloudflare

Password = api key registered user

the configuration is appropriate?

You can keep updated ddclient, we are currently using version 3.8.1 and 3.8.3 is the last

@Alejandro_Guerra you can use ddclient from console cloudflare following specifications and using the version 3.8.3 of ddclient

after installing 3.8.3 ddclient verifies the following:

This we can find in the file: ddclient (perl)

require 5.004;
use strict;
use Getopt::Long;
use Sys::Hostname;
use IO::Socket;

Change:

require 5.004 for require 5.014;

and add this:

use JSON::Any;

although requested to install these packages, it is not: (libjson-any-perl & libio-socket-ssl-perl)

yum install curl sendmail libjson-any-perl libio-socket-ssl-perl
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Install Process
Loading mirror speeds from cached hostfile

  • centos-base: mirrors.coreix.net
  • centos-updates: mirrors.coreix.net
  • nethforge: mirror.nethserver.org
  • nethserver-base: mirror.nethserver.org
  • nethserver-updates: mirror.nethserver.org
    Package curl-7.19.7-52.el6.x86_64 already installed and latest version
    although requested to install these packages, it is not.
    Resolving Dependencies
    → Running transaction check
    —> Package sendmail.x86_64 0:8.14.4-9.el6 will be installed
    → Processing Dependency: procmail for package: sendmail-8.14.4-9.el6.x86_64
    → Processing Dependency: libhesiod.so.0()(64bit) for package: sendmail-8.14.4-9.el6.x86_64
    → Running transaction check
    —> Package hesiod.x86_64 0:3.1.0-19.el6 will be installed
    —> Package procmail.x86_64 0:3.22-25.1.el6_5.1 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
sendmail x86_64 8.14.4-9.el6 centos-base 716 k
Installing for dependencies:
hesiod x86_64 3.1.0-19.el6 centos-base 20 k
procmail x86_64 3.22-25.1.el6_5.1 centos-base 162 k

Transaction Summary

Install 3 Package(s)

Total download size: 899 k
Installed size: 1.9 M

but: Package perl-JSON-2.15-5.el6.noarch already installed and latest version

try this and you let us know how it goes

Regards

1 Like

i did everything you wrote, but i got this error

ddclient -daemon=0 -debug -verbose -noquiet
Can’t locate JSON/Any.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/sbin/ddclient line 28.
BEGIN failed–compilation aborted at /usr/sbin/ddclient line 28.

and i try this

[root@nethserver /]# yum install perl-JSON-Any
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Install Process
Loading mirror speeds from cached hostfile

Install perfect !!!

Now i need to making the change for configuration for cloudflare

indeed! brother, there are problems with perl packages.

in NS6.8 not found and tests I made requested me, several dependencies.

@Alejandro_Guerra But i found this repo epel 6.8:

> yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> yum install perl-JSON-Any

test and comment us how it went

in NS7, yes is located perl-JSON-Any

I’m looking francis cabrel at ‘pause guitare’…a festival of music at albi.

I’m far from computer…the real life is good also

4 Likes

🇼🇴🇼 :beers::beers::beers::beers::beers:

I REALLY don´t know if the software i downloaded are the same, but i just did install a DDCLIENT and it worked really well with DynU, they even post a typical configuration file:

https://www.dynu.com/en-US/Support/Download

Good stuff! :slight_smile:

1 Like