plugins
plugins copied to clipboard
dns/ddclient: add cloudns
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] When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe. Cloudns is support by ddclient, but not by OPNsense
Describe the solution you'd like Either Cloudns provider support or a custom option with the ability to use a url
Describe alternatives you've considered Use the legacy as long as I can
Additional context
https://github.com/ddclient/ddclient/pull/202
Has anyone come up with a work around to get ClouDNS working within OPNsense? I've gave up on trying to use ddclient until there is a fix, but it looks like the next upgrade will force me to switch and, well, its still not working as far as I can tell.
Right now, the only way I see getting this to work in the future is to just give up completely on ddclient and go back to using a cron script on one of the servers. :'(
There's probably a small chance that ClouDNS support will be in 22.7, right?
I too use clouddns and so cannot migrate to os-ddclient until this issue is fixed.
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.
Is there no activity on this feature request? PFsense has cloudns in their option and their dyn allows for URL requests. It's too bad.
Is there no activity on this feature request? PFsense has cloudns in their option and their dyn allows for URL requests. It's too bad.
If you check the official ddclient, there has only been two beta releases in the last years, and those are the ones that include ClouDNS support.
It's too bad that it's still not possible to just enter a custom URL
- just a simple client / browser based form validation issue (JS)?
@webermax if it's a validation issue on our end, best create a sample ddclient config that works and a configuration example in the gui that fails validations and open a ticket....when the problem is ddclient doesn't support your request, this might be wrong tree you're barking at...
Thanks for the quick reply, gladly:
It's not possible to enter URL of the pattern "https://my-service.tld/endpoint/?par=val" as a valid server address getting the error message "please specify a valid address (IPv4/IPv6) or hostname" when trying to save a custom account.
@webermax but have you confirmed that it does work when using the same input when changing ddclient's config file manually?
I can confirm that
opnsense gui does not work with cloudns
- the
Cloudns
service does not work - the
Custom
service does not support full URL e.g. ipv4.cloudns.net/api/dynamicURL/?q=some-token-here
whereas manually editing the /usr/local/etc/ddclient.conf
does work. I have checked this.
use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -t 1 -s ipify-ipv4 --timeout 10",
protocol=cloudns, \
dynurl=https://ipv4.cloudns.net/api/dynamicURL/?q=my-token-here, \
my-hostname.here
tested with opnsense 23.1.8, via Services/Dynamic DNS
, backend=ddclient
Here is the official doc for cloudns.net showing the format of the custom url. OpnSense gui does not allow it. https://www.cloudns.net/wiki/article/36/
Thanks
ps: what's missing is those GET params, that cannot be added to the url, via opnsense's ux.
Even the Custom
service does not allow that, right now. There's no place for those url parameters.
To cover that in OpnSense, I think a new Generic / Advanced
service would help - where I can manually specify the full url.
No need to specify server, user, password, dyndnshost separately in nice textboxes, just let me manually add one, complex, ugly url... that works.
Better than editing the ddclient.conf.
Especially since some dns providers actually give you.... that URL (cloudns, afraidns). If you have it, it's only a matter of doing: copy, paste, done.