plugins icon indicating copy to clipboard operation
plugins copied to clipboard

ddclient: Porkbun API endpoint changing

Open skruje opened this issue 1 year ago • 1 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [x] The title contains the plugin to which this issue belongs

Describe the bug Porkbun has announced a change to its API address from https://porkbun.com to https://api.porkbun.com with a deadline of 2024-12-01 00:00:00 UTC. There's already a PR in the upstream: https://github.com/ddclient/ddclient/pull/752, once this is merged, OPNsense should pull in the latest bits from the project to ensure continuity of support for Porkbun.

Expected behavior ddclient should use https://api.porkbun.com to update DDNS records on Porkbun

Additional context

CRITICAL UPDATE DETAILS

Type: API Hostname Change

Old Value: porkbun.com

New Value: api.porkbun.com

Deadline: 2024-12-01 00:00:00 UTC

skruje avatar Oct 15 '24 13:10 skruje

@skruje can you try the PR and confirm that it currently works? I can merge the code after confirmation

AdSchellevis avatar Oct 15 '24 14:10 AdSchellevis

@AdSchellevis

I believe the PR at https://github.com/ddclient/ddclient/pull/752 was tested by TinFoilSubmarine but the ddclient maintainer seems to be MIA. Is it possible to just change the hostname for use within OPNsense?

AhnHEL avatar Nov 26 '24 20:11 AhnHEL

@AhnHEL I don't expect we plan to fetch changes before a release anymore, past experiences haven't been great, which is also the reason why we wrote our own implementation at some point.

AdSchellevis avatar Nov 27 '24 07:11 AdSchellevis

If the issue is pressing and won't be resolved before the API change deadline, I pulled the change into caddy last month.

https://github.com/opnsense/tools/pull/440

You can use that plugin as dyndns client as well.

Monviech avatar Nov 27 '24 09:11 Monviech

The PR at https://github.com/ddclient/ddclient/pull/752 has finally been merged by a maintainer of ddclient. Can we please get this updated?

AhnHEL avatar Dec 19 '24 23:12 AhnHEL

https://github.com/ddclient/ddclient/commit/aba1df3e does not apply to 3.11.2 -- sorry we are not upstream and upstream should timely merge and release their stuff...

fichtner avatar Dec 23 '24 14:12 fichtner

https://github.com/opnsense/ports/commit/9836aa7c7

fichtner avatar Dec 23 '24 14:12 fichtner

Thank you Franco. I agree about upstream, and I'm sure you and your team have had conversations on what to do about ddclient. Maybe qdm12/ddns-updater is a viable replacement, they seem to be very active updating their code on git. Appreciate your endless efforts, donation incoming.

AhnHEL avatar Dec 23 '24 16:12 AhnHEL

We do have our native client nowadays which is also the default, perhaps at some point it makes sense to split off ddclient from the plugin. It depends on how upstream continues.

Editing the ddclient script file by hand is the best approach until 24.7.12 hits early next year.

Thanks and happy holidays! Franco

fichtner avatar Dec 23 '24 16:12 fichtner

@fichtner Just an FYI, finally some progress

https://github.com/ddclient/ddclient/releases/tag/v4.0.0-rc.1

AhnHEL avatar Dec 28 '24 19:12 AhnHEL