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