DNS Resolver failing to deploy

Mike Matthews 1 Reputation point
2023-03-08T13:58:53.1933333+00:00

We have a DNS Resolver as part of our Bicep configuration. This resource was first deployed some time ago, and the Bicep definition has not recently chagned. Our DevOps pipeline therefore does not need to modify it.

Starting this morning, however, the pipeline has been hanging and eventually failing when attempting to deploy the DNS Resolver. The specific error type is:

Microsoft.Azure.Networking.Dns.ManagedResolver.Frontend.Contracts.Exceptions.Service.FrontendServiceException

Our Bicep code is as follows:

resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = {
  name: dnsResolverName
  location: location
  properties: {
    virtualNetwork: {
      id: dnsResolverSubnetResourceId
    }
  }

  resource dnsResolvers_PrivateDNSResolver_name_InboundEndpoint 'inboundEndpoints' = {
    name: 'InboundEndpoint'
    location: location
    properties: {
      ipConfigurations: [
        { 
          subnet: {
            id: dnsResolverSubnetResourceId
          }
          privateIpAllocationMethod: 'Dynamic'
        }
      ]
    }
  }
}
Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
688 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Maarten Balliere 10 Reputation points
    2024-06-05T20:52:53.1366667+00:00

    Still not resolved, same issue here. Resource deploys but deployment fails. Any update?

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.