Nethserver-ddclient

bump @JOduMonT is it ok ?

2 Likes

with this update
it work perfectly

2 Likes

released thanks

2 Likes

Hi Stephane;
@stephdl

I probably make exceptions here :wink:
and it probably not a huge thing but 


##When I don’t have a subdomain.domain.tld

  • if I edit ddclient.conf directly it’s work
  • if I use the nethserver interface it not.

###The zone don’t keep my domain.tld if I use the interface
##CLOUDFARE dynamic addresses
##
server=www.cloudflare.com,
protocol=cloudflare,
*zone=tld, *
use=web,
web=ip.changeip.com,
login=my@email.tld,
password=myAPIGlobal
domain.tld

###but it work if I force the zone to keep : domain.tld
##CLOUDFARE dynamic addresses
##
server=www.cloudflare.com,
protocol=cloudflare,
zone=domain.tld,
use=web,
web=ip.changeip.com,
login=my@email.tld,
password=myAPIGlobal
domain.tld


Also
How It will hard to allow multi subdomain definition in one setup
Because I affraid they have a limitation of how many request you could do per minute
and I probably burst it

###Again if I edit ddclient.conf it work

##CLOUDFARE dynamic addresses
##
server=www.cloudflare.com,
protocol=cloudflare,
zone=domain.tld,
use=web,
web=ip.changeip.com,
login=my@email.tld,
password=myAPIGlobal
sub1.domain.tld, sub2.domain.tld, sub3.domain.tld, sub4.domain.tld


And finally, but link to the second one
How it will be hard to allow re edition of the Dynamic DNS hostname to add subdomain after a definition ?

1 Like

Ok, cloudflare is a bit odd, therefore I can see two ways to solve your issue

  • Get rid of cloudflare in the panel, and use it by a custom template. Just drop your custom template in /etc/e-smith/templates/etc/ddclient.conf/30Custom
  • Create the needed fields for clouflare with the risks to do the same thing for another services. It is hard to follow all providers
1 Like

Hi Stephane;

Seriously, if i’m a exception, as usual :wink:
I’m totally fine with this solution

Don’t worry I pass 90% of my days in the CommandPrompt

1 Like

I don’t now what I will do but at least it is documented

https://wiki.nethserver.org/doku.php?id=module:ddclient#add_a_custom_provider_fragment

1 Like

Yep and now with Perl-JSON included it supporting dyndns2 protocol

Thank for you work!

For now I dropped the support of cloudflare, i need to change too much code for it
but if other providers will go in the same way, I will change the code

Hi @stephdl, i would like to bring to your attention this Dynamic host service
https://www.nsupdate.info/
And this is the documentation
http://nsupdateinfo.readthedocs.io/en/latest/

When you will be bored, maybe you could find this service provider interesting.

thank I love it :slight_smile:

where I can find a workable ddclient configuration ?

???
https://sourceforge.net/p/ddclient/wiki/protocols/#nsupdate

yeah I saw :frowning:

It needs a key file instead of a password, some code must be changed because all others use a password. But you can use it by creating a custom template like explained here

we can try to look what we need to change, probably a field to give the path to the key file and also a plugin to save the key file to the server (textarea or plugin file transfer of nethgui)

As far as i know, key should be something like “one time password” which is generated and provided from the service when you create your host.
If you don’t remember it, the old key will be outdated and new one will be generated.

1 Like

Up: hi @stephdl is nethserver-ddclient now supporting nsupdate.info?

Edit: maybe this can help you a bit

This is a example of ddclient configuration provided by nsupdate.info

$VariableProvided by service
#Remark
#--------
protocol=dyndns2
use=web, web=http://ipv4.nsupdate.info/myip
ssl=yes  # yes = use https for updates
server=ipv4.nsupdate.info
login=$hostname #insert the hostname selected
password='$secret' #insert secret provided between ' 
$hostname #bare hostname

You can create a custom-template for specific provider. Please check the documentaion.

The last time i checked this provider, it was needed a big customisation of nethserver-ddclient

See Nethserver-ddclient

I guess that it’s stable enough to be not testing anymore. Right @stephdl?

Yep closed, please open a new thread for nfr or bugs

1 Like