DDNS with Porkbun - Req to update API hostname

Started by AhnHEL, November 06, 2024, 11:48:26 PM

Previous topic - Next topic
I've been using the ddclient backend with Porkbun for some time now and its been working flawlessly.  I've recently have been getting notifications from my Porkbun account that the API Hostname is going to be changed and that if I dont update the API hostname that the API will cease to work and it gives me a deadline of 12/1/24 to sort this out.

Is it possible someone can update the os-ddclient plugin to reflect this change please?  The letter I received is pasted below.


Hello there,

The reason you are receiving this email is because you have an API key associated with your account and are sending commands to a deprecated API hostname. We sent a previous warning on 2024-10-11. In order to ensure that any apps or tools you may have that utilize our API continue to work, we wanted to let you know about some upcoming critical updates.

We know these kinds of changes are annoying but the time has come to separate the processing of incoming API commands from our website. In previous documentation the hostname porkbun.com was used for the API but we have recently updated it to api.porkbun.com and in the near future will start enforcing its use. Please update the hostname for our API to api.porkbun.com as soon as possible.

CRITICAL UPDATE DETAILS

Type: API Hostname Change

Old Value: porkbun.com

New Value: api.porkbun.com

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

Please note that after the deadline, API calls made to the old hostname will no longer be allowed. If you have any questions or concerns please contact support.


Thank you,
The Porkbun Team
AhnHEL (Angel)

Looks like this is still being addressed upstream: https://github.com/ddclient/ddclient/pull/752

I'm not sure what process is involved in pulling a new upstream version into OPNsense (once it becomes available) - perhaps open a github issue to request that that happens promptly....

If it does not happen in time you can try os-caddy.

There, porkbun is updated with the new api endpoint since 24.7.8.

https://github.com/libdns/porkbun/commit/00df3156a86b3cce0941fea674ed545d289dec5a
Hardware:
DEC740

Thank you both for your replies.

I've currently switched to Caddy to avoid any timing issues if the plugin isnt updated in time.  The maintainers at ddclient seem to be slow to get the commit merged.
AhnHEL (Angel)

The PR at https://github.com/ddclient/ddclient/pull/752 has finally been merged by a maintainer of ddclient.  Hopefully this can be updated soon for the OPNsense plugin.
AhnHEL (Angel)

Quote"Apologies for taking so long. I was hoping some of the other maintainers would step in while I was away, looks like that didn't happen. :("
Hehe, welcome to open-source. Whereby the creators better never go on a holiday, because the moment the creator is unavailable for a while the entire idea of "being maintained by a community" only goes as far as "Does it affect any of the contributors? Nope.. ok.. guess none of them will mind the issue for now then", none of the creators fault ofcourse but funny how it always ends up somewhere along those lines :D

Though I will be fully honest that I dont really have any credentials to be able to judge anyone ofcourse. Everyone has their expertise and mine certainly is not contributing to Perl script XD
Did make a bash script for myself to have dynamicdns with an directadmin portal (didnt want to have an third-party like noip or some of the other options in between) as that doesnt seem to be built into the ddclient, but thats about the extend of my possibilities XD
Current OPNSense hardware: Protectli VP4650


Seems there has been some progress to ddclient finally, hoping this will make Release soon.

https://github.com/ddclient/ddclient/releases/tag/v4.0.0-rc.1
AhnHEL (Angel)