Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns/ddclient/dyndns2: fix the ovh-dyndns as reported in opnsense#3679 #3696

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

interj
Copy link
Contributor

@interj interj commented Dec 6, 2023

This commit fixes the update process for ovh-dyndns - part of the #3679

Copy link
Member

@fichtner fichtner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tainting dyndns2.py more or less moves us back to the whole legacy discussion around why os-dyndns had to go. It's the start of an unmaintainable mess. This parameter request should be passed by ddclient.json and generically processed by dyndns2.py

@AdSchellevis may help or take this over

@AdSchellevis
Copy link
Member

move it into the existing definition (req_opts) unconditional and refer to https://help.dyn.com/remote-access-api/perform-update/ in the commit?

@interj
Copy link
Contributor Author

interj commented Dec 6, 2023

Seeing how finicky dyndns is I would be afraid of adding it unconditionally - what if some provider will get tripped just by a presence of system parameter, regardless of its value? Would be better to add and assign system if it's configured in the UI, but I didn't look into it so much.

@AdSchellevis
Copy link
Member

According to the specs, it doesn't do anything. we can try to add it, see if it causes issues and revert when needed. If some provider needs something special, it's also possible to provide it with its own type. When flavors of "dyndns2" exist it would also be possible to split the current implementation so there's room for modifications.

This commit fixes the update process for ovh-dyndns - part of the opnsense#3679
@interj interj requested a review from fichtner January 22, 2024 16:33
@fichtner fichtner self-assigned this Jan 23, 2024
@fichtner fichtner merged commit 0919e8e into opnsense:master Jan 23, 2024
@fichtner
Copy link
Member

Merged, thanks!

@interj interj deleted the dyndns-ovh-patch branch January 23, 2024 16:44
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.

3 participants