Cannot link Azure created private DNS zone with a custom created private DNS Zone

Khushaboo Shandilya 1 Reputation point
2021-05-13T08:16:48.267+00:00

Scenario:

We have a storage account - teststorageaccount.
We created a Virtual Network with a subnet (pvtsubnet)
Then we created a Private Endpoint for the storage account using Private Endpoint tab under Networking section.
We specified below:

  1. resource group
  2. component of storage account - blob
  3. private endpoint name
  4. virtual network/subnet
  5. private DNS Zone was automatically created (format - privatelink.blob.core.windows.net) within the current resource group (existing custom created private DNS zone was not visible under drop down) (FQDN -<storageaccount>.privatelink.blob.core.windows.net)

Thing is, we already have a private DNS zone - pvt.dns.zone which we wanted to use with the storage account private endpoint.

To accomplish this, we tried to create a "A" record in pvt.dns.zone with name as - <storageaccount>.privatelink.blob.core.windows.net, IP - (IP from the vnet range which was used whilst creating private endpoint for the storage account)

Although the "A" record creation is successful.
nslookup <storageaccount>.privatelink.blob.core.windows.net.pvt.dns.zone
errors out - Non-existent domain

Please suggest how can we implement below requirement and also if this implementation is even valid?

Use an existing private DNS zone for a private endpoint created for an Azure storage account.
To accomplish this requirement

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