Event Hub namespace not resolving with private endpoint's private IP

Apurva Pathak 360 Reputation points
2024-05-23T17:54:30.05+00:00

Hi folks,

We've got some Event Hub name spaces and we have created private endpoints for them. We have kept the DNS configurations in a centralized Private DNS zone. But the namespaces don't resolve with the private IP rather they do with the public IP of the resource.

This is not a connection issue because telnet to the private IP works fine over port 443. And this is the case with all of the Event Hubs wherein we are unable get the Private IP of their URIs/ FQDNs.

The DNS zone is properly linked with the Vnet connection.

Below are some details, can anyone please help on this.

Private endpoint configuration:

User's image

Public DNS resolution:

User's image

Connectivity to the private endpoint's IP:

User's image

Endpoint status:

User's image

Any help will be highly appreciated, Thanks in advance!

Cheers!

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
581 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 31,731 Reputation points Microsoft Employee
    2024-05-24T09:15:20.28+00:00

    Hi Apurva Pathak ,

    Thankyou for using Microsoft Q&A platform and thanks for posting your query here.

    From the description of your query , it looks like you are facing issue where Event Hub namespaces are not resolving with the private IP of the resource, even though you have created private endpoints .

    While creating the namespace, 'private access' could be configured .

    Screenshot showing the Networking page of the Create namespace wizard with Private access option selected.

    Else, For the existing namespace, make sure to disable 'Public network access'
    Screenshot of the Networking page with public network access as Disabled.

    For more details , kindly check this official documentation : https://learn.microsoft.com/en-us/azure/event-hubs/private-link-service#configure-private-access-for-an-existing-namespace

    Validate that the private link connection is successful with the help of nslookup command: https://learn.microsoft.com/en-us/azure/event-hubs/private-link-service#validate-that-the-private-link-connection-works

    Hope it helps. Thankyou

    0 comments No comments