Preferred Domain Controller in Exchange

The preferred domain controller parameter is being shown as blank by Exchange server. I have two domain controllers in my environment. I am running the given below command to check preferred domain controller used by Exchange server.

Get-ADServerSettings

ConfigurationDomainController               PreferredDomainControllers     PreferredGlobalCatalog RecipientViewRoot ViewEntireForest
----------------------------- -------------------------- ---------------------- ----------------- ----------------
                                                                                   {}                                                                                            Doamin-Name.com       False

Q1: Exchange selects itself any one domain controller as preferred domain controller or should we have to set one domain controller as preferred domain controller for Exchange?

Guys whats your Expert thoughts on this?
LVL 2
Muhammad AsifSenior Solutions ArchitectAsked:
Who is Participating?
 
Mal OsborneAlpha GeekCommented:
It will determine the DC to use via DNS, which will round robin responses, in accordance with the SRV record weight.

By default, each DC in the local site will be used half the time.

https://en.wikipedia.org/wiki/SRV_record
0
 
MAS (MVE)Technical Department HeadCommented:
0
 
Mal OsborneAlpha GeekCommented:
That is normal, and fine.

Exchange will find a DC just like a client machine. Usually, if you had several DCs in different offices, you would have sites set up in AD, Exchange would use this to try to "nearest" DC first.

There may be some situations where you would prefer Exchange to pick a DC outside of the usual process, but this would be unusual.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
Hi MAS and MAL ,

Thanks for your reply. I am using Exchange 2016 on Windows server 2016.   We have four Exchange servers in primary site and two in DR site.
We want that Exchange servers located in primary site use primary domain controller located in primary site and vice versa. If primary domain controller goes down then Exchange should use secondary Domain Controller as preferred domain controller in same site.

Q1: How we can achieve this?

Q2. By default Exchange use what domain controller as preferred domain controller?

How we can achieve this?
0
 
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
Hi Mal,

Thanks for your expert opinion and its very much clear to me know. I would really appreciate if you clarify the below as well.

Q1.  By default Exchange use what domain controller as preferred domain controller (if one site have two domain controllers)?
0
 
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
So By default Exchange does not use any domain controller as preferred domain controller?

BTW, I haven't created any SRV record in DNS. So Is it fine to just keep by default settings.
0
 
Mal OsborneAlpha GeekCommented:
If you set a lower priority (higher number) on one DCs SRV record, then the Exchange server will only use that one, unless it is down. Every other machine on the LAN will do the same, so the "standby" DC will actually not do anything.
0
 
Mal OsborneAlpha GeekCommented:
When you install a DC, it populates the DNS server with a heap of records, including relevant SRV records.

Here is a screenshot of one:

Capture.JPG
0
 
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
Hi MAL,

Thank you so much for your detail reply. Now I have crystal clear concept. Just want to clarify last thing. The priority of SRV record is set 0 for both my Domain Controllers. Now what will happen in this case?  You may also refer to attached screenshot.
DNSOFDC.png
0
 
Muhammad AsifSenior Solutions ArchitectAuthor Commented:
Moreover, what field ( kerberos or LDAP) shell we need to change to change the priority? @MAL can you please comment on this as well.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.