Private endpoints not working

Mohammed Thahif BK 346 Reputation points Microsoft Employee
2023-10-23T06:11:12.6033333+00:00

Hello,

We have a unique setup as shown in the diagram and I am trying to setup private endpoint for SQL MI, keyvault and storage accounts.

The vnet is configured with custom domain controller. This domain controller sits in diff vnet which is not directly peered with our vnet.

all the pvt DNS zones required for each services are placed in our HUB subscriptions with proper vnet link and other configurations.

whenever I try to do DNS resolution, I still get resolved to public IPs and sometimes times out. can someone please help here?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,704 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
539 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Durkan 12,221 Reputation points MVP
    2023-10-23T06:52:35.6+00:00

    Hi

    there is no diagram, but I assume you're using a standard Hub and Spoke network model.

    A few things from me:

    • Do you have Azure Firewall in your Hub?
    • Do you have any UDR's (User Defined Routes) defined in your Route Tables coming from the Spoke?

    What you could do is define the Domain Controller-bound ports in the UDR that your SQL sits in, and send them back to your Firewall in the Hub. Then have rules to route that traffic to your Domain Controllers Spoke.

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

  2. KapilAnanth-MSFT 49,276 Reputation points Microsoft Employee
    2023-10-26T07:53:18.99+00:00

    @Mohammed Thahif BK

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

    • Can you please provide more information on your scenario?
    • We do not see a diagram attached to the question
      • Please share the network architecture of the set up

    When you say, "whenever I try to do DNS resolution, I still get resolved to public IPs and sometimes times out"

    • May I ask from where?
      • From which VNET are you trying to do the DNS query?
        • Or is that from OnPrem?

    #1. If this is a VNET in Azure,

    • And you have no custom DNS server : The private DNS Zones should be linked to this VNET
    • Or if you have a custom DNS server : Refer to this

    #2. If this a OnPREM server ,

    Hope this helps.

    Cheers,

    Kapil

    0 comments No comments

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.