Skip to content

Azuredns does not support private dns zones #3128

@ifilatov

Description

@ifilatov

There is no way to specify that dns zone is privateDnsZones instead of dnsZones. Cert-manager config

  solvers:
    - dns01:
        azuredns:
          # Service principal clientId (also called appId)
          clientID: cccccc-cccc-cccc-cccc-ccccccccccc
          clientSecretSecretRef:
            key: CLIENT_SECRET
            name: azuredns-config
          subscriptionID: ssssssss-ssss-ssss-ssss-sssssssssssss
          # Azure AD tenant Id
          tenantID: tttttttt-tttt-tttt-tttt-tttttttttttttt
          # ResourceGroup name where dns zone is provisioned
          hostedZoneName: myhostedzone.com
          resourceGroupName: my-dns-rg

trying to write to scope
/subscriptions/ssssssss-ssss-ssss-ssss-sssssssssssss/resourceGroups/my-dns-rg/providers/Microsoft.Network/dnsZones/myhostedzone.com/TXT/_acme-challenge.mydomainname

and I was not able to find a way to make it write to scope
/subscriptions/ssssssss-ssss-ssss-ssss-sssssssssssss/resourceGroups/my-dns-rg/providers/Microsoft.Network/privateDnsZones /myhostedzone.com/TXT/_acme-challenge.mydomainname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions