-
Notifications
You must be signed in to change notification settings - Fork 621
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: add inwx native API for ddclient #4000
base: master
Are you sure you want to change the base?
Conversation
This enabled the usage of xmlrpc / jsonrpc to add and modify the DNS entries on INWX.
@hellow554 I've looked briefly through the code, but why does it need xmlrpc? at a first glance it only seems to require json data, but maybe I'm overlooking something. I think this can be simplified quite a bit if we only stick to the essentials. The documentation for this plugin can be found here https://github.com/opnsense/docs/blob/master/source/manual/dynamic_dns.rst |
dns/ddclient/src/opnsense/service/templates/OPNsense/ddclient/ddclient.conf
Outdated
Show resolved
Hide resolved
I took the original code from the inwx repo (https://github.com/inwx/python-client). I'm changing it. |
removing the xml part as well as stripping down to just the needed things
Thanks for looking through my code. I have two more questions. Second: It's possible to print debug outputs for cases where something goes wrong: https://github.com/hellow554/opnsense_plugins/blob/f325b3d7e48d2dc22d97c4ef9b6e055027e838e1/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/inwx_native.py#L107-L109 Do you think I should link that to the |
Personally I find it pretty weird to have two factors which are basically the same, unless it would be a dongle of some sort handling the additional security. In theory it would be possible to add a field to calculate the value, but it wouldn't add much in terms of security.
sure, just send messages to syslog, for example: plugins/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/azure.py Lines 109 to 112 in f3532fc
|
Is there something missing here? I would like this to be merged :) |
Hey everyone,
This is my first commit on this repo, so please point everything out that isn't correct.
My problem is, that INWX is currently only supported by dyndns2.
This costs money on INWX, but they provide a handy web based API, so I did that.
This enabled the usage of xmlrpc / jsonrpc to add and modify the DNS entries on INWX.
This works on my opnsense machine and is running for two days by now, so it should work :)
I think I need to adapt the documentation, if anyone could point me to it, that would be nice.