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.