DNS resolution in Azure Virtual Network

Raviraj Velankar 111 Reputation points
2024-06-14T08:31:06.2366667+00:00

Hello,

I have following query,

If Azure Virtual Network has been configured with Custom DNS Server settings. Custom DNS Server is at Onpremise Network. If there are Azure Private DNS Zones created to host DNS A record for private endpoint for PaaS resources and these DNS Zone is linked to Azure Virtual Network then whether query for private endpoint URL will get resolved by Private DNS Zone or it will get forwarded to Custom DNS Server at Onprem.

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

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 46,676 Reputation points Microsoft Employee
    2024-06-17T17:24:20.0966667+00:00

    @Raviraj Velankar ,

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

    If you were to update the DNS Server of the Azure VNET to a custom DNS Server residing at OnPrem,

    • All the DNS Queries would go to the OnPremises DNS Server only
    • Even the DNS queries of PaaS Services will be forwarded to the OnPrem DNS Server.
    • It does not make sense to have the Private DNS Zone linked to a VNET which uses a custom DNS Server.

    In such scenarios,

    You can create such a hybrid DNS architecture as defined in Resolve Azure and on-premises domains

    Thanks,

    Kapil


    Please Accept an answer if correct.

    Original posters help the community find answers faster by identifying the correct answer.

    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.