Private dns resolver for storage accounts but still need public IPs internally

Richard Duane Wolford Jr 206 Reputation points
2024-08-19T16:46:20.32+00:00

We have several storage accounts with private endpoints. We've set up conditional forwarders to a private dns resolve (such as blob.storage.windows.net) so that the private IP is returned. However, some of our storage accounts, even when accessed internally, need the public IP of the storage account. We were going to add A records to the private DNS zones but aren't sure if this is the best way, could we get some advice?

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

1 answer

Sort by: Most helpful
  1. akinbade abiola 13,565 Reputation points
    2024-08-19T22:39:45.5066667+00:00

    If you only have a few storage accounts needing public IPs, adding manual A records in the private DNS zone might be the most straightforward approach.

    However,It may not be the best solution in the long run. I would recommend using Azure Private DNS Resolver with custom forwarding rules. This provides a flexible, scalable solution that can be easily managed and modified as your needs change.

    https://learn.microsoft.com/en-us/azure/architecture/networking/architecture/azure-dns-private-resolver

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola


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.