Share via

Unable to create a DNS outbound private resolver

Steve Harrison 25 Reputation points
Aug 22, 2023, 8:33 AM

I am attempting to create a private DNS resolver for my cloud services to resolve DNS from my on-premises environment. I can create the resolver, but when I go to create the outbound endpoint, the drop-down to select subnet doesn't function. I cannot select one of the subnets in the network that I have selected.

If I change the network to a different one, for some reason, it then allows me to drop the subnets down. However, I do not want this in that network. I want this in the network I have selected. It does not advise why it cannot select any of the subnets I have created for this service.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
746 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,866 Reputation points Microsoft Employee
    Aug 22, 2023, 1:21 PM

    Hello @Steve Harrison ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you are trying to create an Azure DNS Private Resolver and when you go to create the outbound endpoint, the drop-down to select subnet doesn't show the required subnet. If you change the network to a different one, it allows you to drop the subnets down.

    As mentioned in the Azure DNS Private Resolver doc, the outbound endpoint requires a dedicated subnet in the VNet where it’s provisioned, with no other service running in the subnet, and can only be delegated to Microsoft.Network/dnsResolvers.

    https://learn.microsoft.com/en-us/azure/dns/dns-private-resolver-overview#outbound-endpoints

    A subnet that is in use by another resource cannot be delegated to "Microsoft.Network/dnsResolvers" and won't be available for the Outbound endpoint selection.

    There are also a few additional subnet restrictions that can be used for DNS resolver as below:

    • A subnet must be a minimum of /28 address space or a maximum of /24 address space.
    • A subnet can't be shared between multiple DNS resolver endpoints. A single subnet can only be used by a single DNS resolver endpoint.
    • All IP configurations for a DNS resolver inbound endpoint must reference the same subnet. Spanning multiple subnets in the IP configuration for a single DNS resolver inbound endpoint isn't allowed.
    • The subnet used for a DNS resolver inbound endpoint must be within the virtual network referenced by the parent DNS resolver.

    Refer: https://learn.microsoft.com/en-us/azure/dns/dns-private-resolver-overview#subnet-restrictions

    I would request you to check the subnet that you are trying to select from the drop down and make sure that it meets all the above requirements.

    Once it does, you should be able to select the subnet.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.