plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[os-ddclient] Azure Service Type Missing resourceId Field

Open DataInsightPro opened this issue 2 years ago • 3 comments

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:

  1. Go to Services > Dynamic DNS > Settings
  2. Click on [+] (Add)
  3. Select 'azure' as Service type
  4. 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 image

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

DataInsightPro avatar Jan 11 '24 03:01 DataInsightPro

My apologies. I completely missed that there is an 'Advanced' toggle at the top of the form. Toggle that and the missing field appears.

DataInsightPro avatar Jan 11 '24 03:01 DataInsightPro

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.

fichtner avatar Jan 23 '24 10:01 fichtner

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?

Image

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>

nphoenix avatar May 25 '25 01:05 nphoenix

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.

OPNsense-bot avatar Aug 13 '25 08:08 OPNsense-bot