In a hybrid environment, when configuring a new azure domain controller in an existing domain, where should you set the dns server setting

Maria Shah 0 Reputation points
2024-01-11T19:46:43.36+00:00

Setting up a new domain controller in Azure in an existing environment. When setting server settings you should set dns to all other domain controllers in the environment and loopback IP as secondary DNS server. Should you also configure the VM's Azure dns to custom and add the loopback IP?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,036 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,511 Reputation points
    2024-01-11T20:18:44.1+00:00

    Hi Maria,

    Best practice is the VMs or the App Servers should always point to the Domain Controllers and they are the DNS servers so no need to add loopback IP address as they will not resolve records for the app or server.

    Hope this helps.

    JS

    == Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

    0 comments No comments

  2. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2024-01-12T23:52:52.17+00:00

    Hello @Maria Shah , regardless of being on-premise or in Azure, Active Directory VMs should target AD DNS servers (DCs or not) located in the same network but not the loopback address.

    For other scenarios take a look at:

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.


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.