plugins icon indicating copy to clipboard operation
plugins copied to clipboard

os-ddclient: Cloudflare DNS updates with multiple hostnames write all to same entry

Open Flat opened this issue 7 months 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 When using the native backend to update dynamic dns via Cloudflare, if multiple hostnames are specified in an entry it will add an entry with all hostnames comma separated instead of updating each listed hostname.

To Reproduce Steps to reproduce the behavior:

  1. Go to Services->Dynamic DNS
  2. Add a new entry with Service Cloudflare, enter multiple domains/hostnames along with zone and credentials
  3. View Cloudflare dashboard and observe all hostnames are entered as one entry.

Expected behavior All hostnames entered should be updated as their individual DNS records.

Screenshots N/A

Relevant log files N/A

Additional context ddclient backend appears to work as expected.

Environment

OPNsense 25.1.7_4 (amd64).

Flat avatar May 25 '25 13:05 Flat

Can confirm.

OPNsense 25.1.9_2-amd64 FreeBSD 14.2-RELEASE-p3 OpenSSL 3.0.16 os-ddclient 1.27_3

The error message looks like: Account xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx [cloudflare - WAN IP -> Cloudflare DNS] error receiving RecordID [[{"code": 9334, "message": "Filtering for multiple names with URL parameter \"name=www.xxxx.xxx,vpn.xxxx.xxx\" is no longer supported. See <https://developers.cloudflare.com/fundamentals/api/reference/deprecations/#2025-02-21> for more information."}]]

covellitenz avatar Jun 26 '25 10:06 covellitenz

To update both my wildcard and top-level domain, I entered these values into the hostnames field:

*.<domain-name>.me, <domain-name>.me

For me instead of adding a new entry I now get these errors:

Account <accountID> [cloudflare - ] error locating hostname *.<domain-name>.me,<domain-name>.me [A]

I guess this is related to this draft PR #4550

LeLunZ avatar Oct 11 '25 22:10 LeLunZ

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Nov 21 '25 13:11 OPNsense-bot