Support via Update URL by Ionos
I have a Problem im only have a Update URL from Ionos an will the DYNDNS use on my OpenSense i dont can Configure that in the Plugin from Opensense.
Sry for my bad englisch "thats not the yello from the egg" XD
Hello, I'm guessing you're a fellow german? Feel free to post in german and i'll edit in a translation.
(I'll need a bit more infos, i'll ask followup questions later)
(English translation by @LenardHess, original german text below)
Thank you.
I have the following request: I'm using IONOS for dynamic DNS. But IONOS only offers an update URL without login info.
For example (not my private one, hence no censoring): https://ipv4.api.hosting.ionos.com/dns/v1/dyndns?q=ZsWxJSLcX8Dpy40nu0fhycBXdnnTb0gM2yqKS3Xcmx4c3yA6EhZp3Sg0467MRvdn6dU4P0kQntSeskxpYsFMxXnrKmW8teSHSHc3eefgYu4tjb2veJH4tESXaTmW4tvNW6nrtSm6Vb6E7e2SpuqqjvFaqbBS4XGCS
Here is the IONOS documentation for their API: https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/
Now I want to set up my Opensense DYNDNS, which works with the plugin "DIENSTE: DYNAMIC DNS (LEGACY)", but is deprecated with the message "Please make sure to upgrade to os-ddclient before 23.7 is released as this plugin will be removed from our repository". I tried it with the new "os-ddclient" plugin, but i cannot set the Update URL of the DYN-DNS provider like I'm used to, since it requests data that I don't get from IONOS.
Super vielen lieben dank.
Ich habe folgendes anliegen; Ich bin bei IONOS und beziehe da meine DYN-DNS. Allerdings gibt mir IONOS nur eine Update URL und keine Login Daten.
Hier ein Beispiel (ist nicht meine deswegen unzensiert):
https://ipv4.api.hosting.ionos.com/dns/v1/dyndns?q=ZsWxJSLcX8Dpy40nu0fhycBXdnnTb0gM2yqKS3Xcmx4c3yA6EhZp3Sg0467MRvdn6dU4P0kQntSeskxpYsFMxXnrKmW8teSHSHc3eefgYu4tjb2veJH4tESXaTmW4tvNW6nrtSm6Vb6E7e2SpuqqjvFaqbBS4XGCS
Die vom Anbieter zur Verfügung gestellte Anleitung:
https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/
Nun möchte ich auf meiner Opensense DYNDNS einrichten was mit dem Plugin "DIENSTE: DYNAMIC DNS (LEGACY)" problemlos geht, allerdings steht dort folgende Meldung "Please make sure to upgrade to os-ddclient before 23.7 is released as this plugin will be removed from our repository" und ich versuche es über das neue Plugin "os-ddclient", dies allerdings lässt mich nicht via Update URL den DYN-DNS erstellen wie ich es gewohnt bin, da dies Daten verlangt die ich von meinem Anbieter nicht bekomme, denn ich bekomme lediglich die Update-URL.
(German translation below) @Stoony1 Thanks for the additional info, that'll help a lot. This would be a new provider implementation - are you available for testing?
@rrthomas This looks to be a provider similar to MythicBeasts - as in it grabs the IP address from the inbound connection. I'm inclined to set up a more generic "Fixed IP" Provider that can be configured to send this type of requests. What are your thoughts on that?
Danke für die extra Infos, das wird helfen. Das hier wäre eine neue Providerimplementation - wärst du zum Testen davon verfügbar?
Dieser Provider ähnelt MythicBeasts - statt eine IP zu senden, wird der DNS-Eintrag auf die IP von der Verbindung gesetzt. Eventuell wäre es besser, einen generischen Provider zu implementieren und die URL hinreichend konfigurierbar zu machen.
@LenardHess I agree that if there are multiple DNS providers that work the same way, it would be good to factor out the common code, especially as it's unusual for ddclient.
I would suggest that if we introduce a new generic provider which needs a URL parameter, we should continue to offer simple named providers such as mythicdyn and ionos for tested providers. That way, users of named services can have simple configuration, and advanced users can add a new provider without needing a new ddclient release.
(German translation below) @Stoony1 Thanks for the additional info, that'll help a lot. This would be a new provider implementation - are you available for testing?
@rrthomas This looks to be a provider similar to MythicBeasts - as in it grabs the IP address from the inbound connection. I'm inclined to set up a more generic "Fixed IP" Provider that can be configured to send this type of requests. What are your thoughts on that?
Danke für die extra Infos, das wird helfen. Das hier wäre eine neue Providerimplementation - wärst du zum Testen davon verfügbar?
Dieser Provider ähnelt MythicBeasts - statt eine IP zu senden, wird der DNS-Eintrag auf die IP von der Verbindung gesetzt. Eventuell wäre es besser, einen generischen Provider zu implementieren und die URL hinreichend konfigurierbar zu machen.
(Yes, I would test this on Opensense and give feedback. I want to stay with IONOS instead of switching to i.e. Cloudflare) Ja würde dies auf der Opensense testen und weiter Feedback geben, denn ich würde gerne bei IONOS bleiben statt zu z.b Cloudflare zu wechseln.
(When is it ready to test so I can do my first tests?) Wann wäre es Testbereit das ich die ersten Tests machen kann DYN-DNS via UPDATE-URL zu nutzen?
(German translation below)
A first testable version is available in the feature_provider_ionos branch (see #556 ). Please test and report results in the pull request.
@Stoony1 Eine erste testbare Version ist in feature_provider_ionos branch (siehe #556) Bitte probier die aus und schreib das Ergebnis in die Pull Request
(German translation below)
A first testable version is available in the feature_provider_ionos branch (see #556 ). Please test and report results in the pull request.
@Stoony1 Eine erste testbare Version ist in feature_provider_ionos branch (siehe #556) Bitte probier die aus und schreib das Ergebnis in die Pull Request
Werde das gerne direkt gleich testen, wie bekomme ich das Update auf meine Opensense Installiert? Habe auf meiner Opensense grade nach Updates gesucht diese zeigt keine verfügbaren Updates an.
(German translation below)
You're looking at the released Opensense plugin os-ddclient, which uses ddclient. To get the plugin updated you'd have to look into the Opensense plugins, I do not know how they function.
Either find out how to build this ddclient branch into os-ddclient and install that self-built plugin, or install ddclient on a local system and configure it directly. For the latter step I can offer some more assistance, for the former I cannot.
Du siehst da das os-ddclient Plugin für Opensense, welches auf ddclient basiert ist. Um das Plugin zu aktualisieren, müsstest du dich mit den Opensense plugins befassen. Ich weiß nicht, wie die funktionieren.
Entweder du findest raus, wie du den ddclient branch in os-ddclient builden kannst und das Ergebnis installierst, oder du installierst ddclient auf einem lokalen System und konfigurierst es dort. Für letzteres kann ich unterstützen, für ersteres nicht.
das wäre auch möglich sobald ich weiß wie ich das mit ubuntu / debian mache kann ich das dort auch gerne testen.
Ich habe den Code Change erfolgreich ausprobiert. Zwei kleine Änderungen sind notwendig. Siehe meine Kommentare im Merge Request #556
I successfully tested the proposed code changes. Two minor additional modifications are necessary. See my comment on Merge Request #556
By the way, as a side note also see the same IONOS discussion on the OPNSense plugin github: https://github.com/opnsense/plugins/issues/3535
Thanks for the testing, I'm planning to update the merge request with your suggestions tomorrow
Is there any work in progress to be able to use such providers where you have a url only that has to be called?