question

SeekingTruth-2322 avatar image
1 Vote"
SeekingTruth-2322 asked SeekingTruth-2322 answered

AD Authentication and DNS required records

I am in the process of decommissioning an old domain controller (Windows 2008 R2 server called OLDDC). The domain has several Domain Controller running Windows 2016. Everything is working fine accept when I take this old server online. I did this as a test and found users could not log on or access network drives.

After researching and reading up on the "DC Locator process" it appears to me that some entries are missing in DNS or possibly one entry to many (Default-First-Site-Name)?

There are two zones in "Forward Lookup Zones". These are "_msdcs.domain.lcl" and "domain.lcl". All my DC's appear with the appropriate records in DNS under the correct site names.

However there is a entries "_tcp.Default-First-Site-Name._sites.gc._msdcs.domain.lcl" which only contain one LDAP entry (SRV record) for the OLDDC, which is the server to be decommissioned. Everywhere there is a "Default-First-Site-Name" it only contains the one entry being OLDDC.

In DOMAIN.LCL zone there is a record "_msdcs" which also contains just the OLDDC.

Should I just manually add the required DCs ?

All guidance on how to resolve this are greatly appreciated.
Thanks

windows-serverwindows-dhcp-dns
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SeekingTruth-2322,
How are things going on your end? Please keep me posted on this issue.
If you have any further questions or concerns about this question, please let us know.
I appreciate your time and efforts.

Best Regards,
Daisy Zhou

1 Vote 1 ·
SeekingTruth-2322 avatar image
0 Votes"
SeekingTruth-2322 answered

Hi Daisy,
I have done numerous research and testing since we last communicated and found the following.

It appears that the issue of users not being able to login or RDP when that particular server was shutdown is..

  • Some of the computers / users were using that DC we shutdown for checking their "Trust Relationship". Windows will eventually try another DC to check the "Trust Relationship". My testing showed this to be around 3-4 minutes.

  • The server which is providing the "Trust Relationship" can be found by using the command "NLTEST /sc_query:domain.lcl"

  • You can use "NLTEST /sc_reset:domain.lcl" to set the next available DC to be used by that computer when checking the "Trust Relationship in the future.

Tests in relation to the DSN and Sites & Services shows that the creation of a new "Sites" in "Sites and Services" will also create appropriate DNS entries in .....

  • _sites.dc._msdcs.domain.lcl

  • _sites.gc._msdcs.domain.lcl

  • _sites.domain.lcl

  • _sites.DomainDnsZones.domain.lcl

  • _sites.ForestDnsZones.domain.lcl


I also found that renaming "Sites" in "Sites and Services" will also create appropriate DNS entries for the new site, with an additional _ldap records , BUT also leaves the old DNS Site and its entries.

So as far as I am now concerned we should be able to close this question.

Thanks





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DaisyZhou-MSFT avatar image
1 Vote"
DaisyZhou-MSFT answered

Hello @SeekingTruth-2322,

Thank you for posting here.

Based on the description, I understand we have several Domain Controllers (one Windows 2008 R2 DC and several Windows server 2016 DCs), now we want to demote the Windows 2008 R2 DC (now this Windows 2008 R2 DC is still existing in the domain, we have not demoted it).

Q:Should I just manually add the required DCs ?
A:If you promote a new DC in the domain successfully, all the DNS records related to that DC should be created automatically in DNS manager on the DC.

Check if you put other DCs in different sites.

For example:
57632-site2.png


Or maybe the AD replication issue caused the DNS records missing.



1.Based on "I did this as a test and found users could not log on or access network drives.", what error message did you see?
2.Would you please check FSMO role DC? Run command netdom query fsmo.
3.How many site do you have?
57430-site1.png
4.Which site are all the DCs put?
5.Is your domain a forest with single domain or a forest with weveral domains?
6.What is your domain functional level / forest functional level?


Best Regards,
Daisy Zhou



site2.png (57.2 KiB)
site1.png (17.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SeekingTruth-2322 avatar image
1 Vote"
SeekingTruth-2322 answered

Hi Diasy,
Thank you for getting back.

I would be interested in knowing what entries you have in "Default-First-Site-Name" and what changes occur if you add a second DC.

I have all my DCs spread over two sites. All DCs were installed via DCPROMO which worked successfully.

To answer your questions.
Q1. Based on "I did this as a test and found users could not log on or access network drives.", what error message did you see?
A1. I had other users testing and this was the information passed to me. "Enter network credentials", "the specified network password is not correct".

Q2. Would you please check FSMO role DC? Run command netdom query fsmo.
A2. All roles pointing to my new DCs. No references to OLDDC.

Q3. How many site do you have?
A3. I have 2 sites.

Q4. Which site are all the DCs put?
A4. The DCs are spread over 2 sites.

57622-sites.jpg

Q5. Is your domain a forest with single domain or a forest with several domains?
A5. It is a forest with single domain.

Q6. What is your domain functional level / forest functional level?
A6. Both the Forest and Domain are at the functional level of "Windows Server 2008 R2"

I notice that in "Sites and Services" you have Default-First-Site-Name. This does not appear in mine. It does however in DNS.


Kind Regards



sites.jpg (13.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DaisyZhou-MSFT avatar image
1 Vote"
DaisyZhou-MSFT answered

Hello @SeekingTruth-2322,

There is a default site named "Default-First-Site-Name" in AD when we deploy AD domain (on DC).

We can also create new site if needed. Site1, site2 and site3 are site that I created.
57838-site1.png

When we promote a DC, we can select a site for this DC.
57993-site111.png


We can check as below:
1.Please check if you can see all the DCs in site VDC1 and site VDC2.
2.Please check if you can see VDC1 with DC records and VDC2 with DC records in DNS manager (I mean we can check whether all SRV records that should exist do exist).

For example:
57947-site3.png


3.Run Dcdiag /v on every DC to check the DC health.
4.Run repadmin /replsum and **repadmin /showrepl /csv >c:\repsum.csv* on PDC to check AD replication.

Tip: If there is no any error in the command result, it means every DC itself and AD replication works fines.


If these records are missing on only one DC or some DCs, maybe AD replication does not work fine, it cased all DC does not synced.

If these records are missing on all DCs, there is issue on the DC itself.

All DCs should have ldap SRV and kerberos SRV records. If one DC is also a GC, this DC should have gc SRV record.
57920-gc1.png



Best Regards,
Daisy Zhou



site1.png (28.9 KiB)
site111.png (175.0 KiB)
site3.png (35.3 KiB)
gc1.png (7.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SeekingTruth-2322 avatar image
1 Vote"
SeekingTruth-2322 answered DaisyZhou-MSFT commented

Hi Daisy,
Unfortunately I do not appear to have "Default-First-Site-Name" in AD. I only see it in DNS.

What entries do you have in DNS for

  1. _tcp.Default-First-Site-Name._sites.gc._msdcs.a.local

  2. _tcp.Default-First-Site-Name._sites.a.local

I have the following for

  1. one entry ( _ldap SRV OLDDC )

  2. three entries _gc , _kerberos , _ldap all for the old domain controller OLDDC .


Kind Regards


.







· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SeekingTruth-2322,

Thank you for your update.

We can run nltest /dclist:domain.com to check DC numbers.

58121-dclist1.png



Meanwhile, please check if DCs themselives work fine and if AD replication works fine as I mentioned above.



Best Regards,
Daisy Zhou

1 Vote 1 ·
dclist1.png (19.7 KiB)
SeekingTruth-2322 avatar image
1 Vote"
SeekingTruth-2322 answered SeekingTruth-2322 commented

Hi @DaisyZhou-MSFT ,

Here is the output from nltest and repadmin /replsummary

58114-image.png


58161-image.png

Kind Regards




image.png (26.1 KiB)
image.png (41.3 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SeekingTruth-2322,

Thank you for your update.

Would you please tell us the name of your Windows server 2008 R2 DC?

Is it listed in the dc list below?

58374-dc1.png


Best Regards,
Daisy Zhou


1 Vote 1 ·
dc1.png (36.1 KiB)

Hi Daisy,
Sorry I missed you question.
The server name is DC2.vifm.lcl

Regards

0 Votes 0 ·
SeekingTruth-2322 avatar image
1 Vote"
SeekingTruth-2322 answered

Hi @DaisyZhou-MSFT ,
Here is the correct DCDIAG /v /c /d /e

58461-ad01-dcdiag-debug.txt

Thanks


ad01-dcdiag-debug.txt (178.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.