Skip to content

dns/ddclient hetzner existing record update patch#5188

Open
jnikodemus wants to merge 3 commits intoopnsense:masterfrom
jnikodemus:jnikodemus-dd_hetzner_patch1
Open

dns/ddclient hetzner existing record update patch#5188
jnikodemus wants to merge 3 commits intoopnsense:masterfrom
jnikodemus:jnikodemus-dd_hetzner_patch1

Conversation

@jnikodemus
Copy link

@jnikodemus jnikodemus commented Feb 4, 2026

Fix ddclient update Hetzner for new API
Reference
pull#5082
issue#5187

Problem
The actual update method returns code 200 for an update, because it doesnt use the right entrypoint.

Fix
Changed the API entrypoint "actions" and removed code duplication.

Testing
Tested on a local OPNsense instance with multiple records.

Added workaround for API bug on update record. Thanks to @ArcanConsulting
Added LOG_NOTICE for deletion.
@AdSchellevis
Copy link
Member

wouldn't it be better to open a ticket at their end, it feels rather weird to patch the caller in this case (assuming its a bug and not a documented change of behavior)

@jnikodemus
Copy link
Author

You are right, I've contacted the hoster again. I'll write it correct.

@jnikodemus jnikodemus closed this Feb 6, 2026
@jnikodemus jnikodemus reopened this Feb 6, 2026
Updated _update method. No workaround needed.
@jnikodemus jnikodemus changed the title ddclient hetzner existing record update workaround dns/ddclient hetzner existing record update patch Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants