[os-ddclient] Azure Service Type Missing resourceId Field
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] The title contains the plugin to which this issue belongs
Describe the bug When attempting to configure a new Dynamic DNS account for an Azure hosted dns zone the resourceId field is missing from the configuration form.
To Reproduce Steps to reproduce the behavior:
- Go to Services > Dynamic DNS > Settings
- Click on [+] (Add)
- Select 'azure' as Service type
- Form 'reconfigures' for the service type and resourceId is missing as a field option
Expected behavior Expected behavior is to be presented with an option to configure the appropriate resourceId for the Azure DNS Zone.
Screenshots
Additional context Filling in the form as is will save the account settings. But, as expected, it results in an error indicating that the process can find 'No subscription id found for account'.
Environment OPNsense 23.7.11 (amd64). os-ddclient 1.19
My apologies. I completely missed that there is an 'Advanced' toggle at the top of the form. Toggle that and the missing field appears.
Maybe we can improve UX here a bit... resourceId is only for azure, advanced flag is not best UX if you were looking for it. Reopening to work on it later.
I am also wrestling with this in OPNsense 25.1.7_4-amd64 with os-ddclient 1.27_2 i get No subscription id found. Where do i put the subscription id?
Is there any short term fix to put the key into the config.xml directly? what is the key for " subscription id"
<DynDNS version="1.5.1">
<general>
<enabled>1</enabled>
<verbose>0</verbose>
<allowipv6>0</allowipv6>
<daemon_delay>300</daemon_delay>
<backend>opnsense</backend>
</general>
<accounts>
<account uuid="cad3372f-5967-43a2-bb6c-0464b668b17e">
<enabled>1</enabled>
<service>azure</service>
<protocol/>
<server/>
<username>2727f4f0-6beb-405b-87c3-f6eaf7eb37a5</username>
<password>2e1910c8-f0b2-4a21-adcb-6822ac9c9cf9</password>
<resourceId>d6fbdc4b-9684-4087-b56f-c23dac47140e</resourceId>
<hostnames>cav.dummydomain.com</hostnames>
<wildcard>0</wildcard>
<zone/>
<checkip>web_dyndns</checkip>
<dynipv6host/>
<checkip_timeout>10</checkip_timeout>
<force_ssl>1</force_ssl>
<ttl>300</ttl>
<interface>wan</interface>
<description>dummydomain_inxsol</description>
</account>
</accounts>
</DynDNS>
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.