You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, open and closed, and I'm convinced that mine is new.
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.
Right now with porkbun as provider and ddclient as backend, you can only update subdomain (aaa.example.com, bbb.example.com), if you put the root domain example.com the update fails.
Describe the solution you'd like
Putting as hostname .example.com the update of the dns record works, but you can't do that in the ui because the validation return the error "Please specify a valid IP address or hostname". I'd like to allow that hostname.
Additional context
After a bit of trial and error with plain ddclient I found that this configuration works as expected (notice the starting dot in the domain):
In OPNsense I had to manually edit the file /usr/local/etc/ddclient.json changing the "hostnames" key, after a restart of the plugin the DNS record was correctly updated, but obviously this is not a permanent fix becasue the manual edit is lost every time you apply the configuration from the WebUI.
Without this fix the update fails because ddclient call this API to check the if the domain exists:
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
Right now with porkbun as provider and ddclient as backend, you can only update subdomain (aaa.example.com, bbb.example.com), if you put the root domain example.com the update fails.
Describe the solution you'd like
Putting as hostname
.example.com
the update of the dns record works, but you can't do that in the ui because the validation return the error "Please specify a valid IP address or hostname". I'd like to allow that hostname.Additional context
After a bit of trial and error with plain ddclient I found that this configuration works as expected (notice the starting dot in the domain):
In OPNsense I had to manually edit the file
/usr/local/etc/ddclient.json
changing the "hostnames" key, after a restart of the plugin the DNS record was correctly updated, but obviously this is not a permanent fix becasue the manual edit is lost every time you apply the configuration from the WebUI.Without this fix the update fails because ddclient call this API to check the if the domain exists:
With a hostname
aaa.example.com
the actual url called is:The SUBDOMAIN is optional to allow update of the root domain, but right now if you put
example.com
as hostname the url look like this:and this calls fails because
com
is not a valid domain name. With a dot at the start, the domain is correctly parsed and the url is:Porkbun API documentation: https://porkbun.com/api/json/v3/documentation
The text was updated successfully, but these errors were encountered: