plugins icon indicating copy to clipboard operation
plugins copied to clipboard

dns/ddclient Add Njal.la DNS provider support

Open satrapes opened this issue 2 years ago • 2 comments

I have created a pull request in the ddclient project for this as well.

A couple of things that I would like your help are:

  1. When do you not need to update ddclient.conf? I saw ovh does not need to be updated but didn't fully understand why.
  2. Do I need to manually update the pkg-descr?
  3. Where is the version of ddclient specified?

satrapes avatar Sep 19 '22 11:09 satrapes

@satrapes

  1. When do you not need to update ddclient.conf? I saw ovh does not need to be updated but didn't fully understand why.

When only a protocol is needed, in which case the "else" covers the item

https://github.com/opnsense/plugins/blob/e9c2a613c315349a35a8a38e21b8982fc7d60b4b/dns/ddclient/src/opnsense/service/templates/OPNsense/ddclient/ddclient.conf#L90-L91

  1. Do I need to manually update the pkg-descr?

Can do this later, when it's being added to a release

  1. Where is the version of ddclient specified? In ports (https://github.com/opnsense/ports/blob/master/dns/ddclient/Makefile)

just ping us when ddlcient includes your feature in a release version.

AdSchellevis avatar Sep 19 '22 11:09 AdSchellevis

Thanks for the reply @AdSchellevis. I guess that the next important question is shouldn't you always specify the server as well? Judging from the other examples it is not necessary but where else would you specify the server?

just ping us when ddlcient includes your feature in a release version

I will push for it to be included into next release then.

satrapes avatar Sep 19 '22 11:09 satrapes

So the DNS provider has been added to ddclient master branch. I am a bit puzzled as to which release it needs to be added for this to make it onto OPNSense plugin directory. The OPNsense plugin ddclient release is 1.9 but I am not sure if or how it maps to the ddclient release versions. Current is v3.10.0_2 last released in May and FreeBSD is still on v3.9.1 according to this page https://repology.org/project/ddclient/versions

satrapes avatar Oct 17 '22 14:10 satrapes

_2 is still a “prerelease”

fichtner avatar Oct 17 '22 14:10 fichtner

@fichtner if people could just decide to use semver

angry-fist.gif

Anyway, v3.10.0 was released 3 hours ago.

dabruh avatar Oct 20 '22 20:10 dabruh

Damn this is awesome. This is going to be my first open source contribution. I am so happy to give back to the community.

satrapes avatar Oct 21 '22 07:10 satrapes

just ping us when ddlcient includes your feature in a release version

Ping @AdSchellevis :-)

dabruh avatar Oct 21 '22 21:10 dabruh

@dabruh pong :) I'll try to sync the merge with our inclusion of 3.10.0 (https://github.com/ddclient/ddclient/releases/tag/v3.10.0)

AdSchellevis avatar Oct 22 '22 07:10 AdSchellevis

port is more or less ready, but we won't publish before FreeBSD ports inclusion (which we will try to do on Monday)

fichtner avatar Oct 22 '22 07:10 fichtner

@fichtner @AdSchellevis any updates on this? Thanks! :-))

dabruh avatar Nov 02 '22 18:11 dabruh

We are trying to get the final 3.10.0 into FreeBSD ports currently to progress this... https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267323

(from https://forum.opnsense.org/index.php?topic=26446.msg148989#msg148989)

AdSchellevis avatar Nov 03 '22 13:11 AdSchellevis

Hi, do we still have to wait for the 3.10.0 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267323), or can we also take the 3.10.0-devel? In addition, support for other DNS providers must be added, such as Hetzner. Can I help in any way?

lucaschoeneberg avatar Nov 15 '22 14:11 lucaschoeneberg

@lucaschoeneberg I made a ddclient-devel for os-ddclient-devel to use which will be available in 22.7.8. I'm not sure about FreeBSD ports movement. Doesn't seem to be very enthusiastic at this point.

fichtner avatar Nov 15 '22 14:11 fichtner

Okay thanks @fichtner. Yes, let's see how it goes with the ddclient. Will the ddclient plugin in 22.7.8 also support the other DNS providers that the ddclient supports?

lucaschoeneberg avatar Nov 15 '22 15:11 lucaschoeneberg

I haven't gotten around picking those that are new in 3.10.0 where a PR exists. This is going to be a mess for plugin backporting management in any case..

fichtner avatar Nov 15 '22 15:11 fichtner

should be in ddclient (development)

AdSchellevis avatar Dec 21 '22 14:12 AdSchellevis