Nethserver-ddclient

Thanks for reporting and happy that you like it /cc @stephdl :point_left:

1 Like

is selfhost.eu supported?

I also created an account on hn.org but I don’t know what I have to put into the fields in the ddclient module (especially the login name I don’t know)
 Could you help me please?

no specific clue, generally speaking , the login+password fields are the login name+password of the dynamic dns provider web site

reading this, these are the mandatory fields, in bold what you need to adjust

protocol=dyndns2
server=carol.selfhost.de
login=ihr_dyndns_account
password=ihr_passwort

1 Like

Thanks!!! works great!!! perhaps you could add selfhost in the list of official providers!??

2 Likes

available for ns6 and ns7

4 Likes

Hi Stephane;

I just install ddclient from you’re repository

It is normal it didn’t include perl-JSON-Any in the installation ?

[UPDATE]
Now with CloudFlare you need to specify the zone=

so in the ddclient.conf, just after protocol=cloudflare,
you need to specify the zone

at the end you have something like

server=www.cloudflare.com, \
protocol=cloudflare, \
zone=domain.tld, \
login=email@youusewithcloudflare.com, \
password=GlobalAPI \
subdomain.domain.tld

would be awesome to add the zone option
so in this way Cloudflare will become an Official Providers

Which version of ddclient and ns server you use ?

Nethserver 7
ddclient version 3.8.3

installed from : http://wiki.nethserver.org/doku.php?id=module:ddclient

thanks @JOduMonT I misunderstood your issue. In fact to use the cloudfare.com provider you need several things

perl-JSON-Any
new entries in the templates/nethgui
specified zone (I suppose it is the dynamic domain ???)
login (email address)
password (api-key/GlobalAPI ???)

I would try to offer this option in the netgui, but I don’t want to waste my free time to offer forum support if the options are not clear :slight_smile:

Can you please explain me a bit more where the settings can be found ?

hum!
might be because i’m a french native but maybe I missunderstood your question 


so if my bash_history is good
after a bunch of try I finally just add

yum install perl-JSON-Any
than install ddclient from your repo

and in /etc/ddclient.conf I use with success

daemon=600                            # check every 600 seconds
syslog=yes                                      # log update msgs to syslog
mail=my@email.tld              # mail update msgs to root
mail-failure=my@email.tld      # mail failure msgs to root
pid=/var/run/ddclient/ddclient.pid                       # record PID in file.
ssl=yes

use=web, web=ip.changeip.com/

server=www.cloudflare.com, \
protocol=cloudflare, \
zone=myDomainName.tld, \
login=myemail2login@cloudflare.com, \
password=MyAPIPassword \
machine1.domain.tld, machine2.domain.tld \
machine3.domain.tld, machine4.domain.tld

cloudflare seems only works with ip.changeip.com

1 Like

could you please test this version with cloudflare embedded

yum install  http://mirror.de-labrusse.fr/NethDev/nethserver-ddclient/nethserver-ddclient-1.0.3-1.ns7.sdl.noarch.rpm
1 Like

thanks for your fast and nice works, i’ll try soon and give you a feedback

2 Likes

You should pay him a :beer: as well

On my first try it didn’t works
no update on my ip

the config looks fine

i’ll investigate a little bite more and keep you in touch :slight_smile:

look after logs

##
## CloudFlare (www.cloudflare.com)
##
#protocol=cloudflare,        \
#zone=domain.tld,            \
#server=www.cloudflare.com,  \
#login=your-login-email,     \
#password=APIKey,             \
#ttl=1                       \
#domain.tld,my.domain.tld

try to add ‘ttl=1’ and report please

@stephdl

How many people here use ddclient with multiwan 
I’m curious ?

Sorry; I had others cats to whip

So basicly the installation works

the issue is the zone parameter
when i’m using the NethSever WebUI to define my account

the zone in the /etc/ddclient.conf
will be define with my subdomain.domain.tld
instead of domain.tld

if I change this line in the file and restart ddclient
Everything works perfectly :wink:

I didnt have to use change any others parameters

zone=domain.tld,
server=www.cloudflare.com,
login=your-login-email,
password=APIKey,
domain.tld,my.domain.tld,other.domain.tld

1 Like

please reinstall the rpm, it should be good

2 Likes