Reference

Problems and fixes

Common problems when adding, and later re-addressing, a second domain controller, and their fixes.

ReferenceReviewed 14 November 2026

The test says it cannot find the domain

The new server is not using CON-DC-01 for DNS. Set its DNS to 10.0.20.10 only, run ipconfig /flushdns and try Resolve-DnsName ad.contoso.com again.

repadmin reports error 58

One DC is using a cached old address for its partner. Run ipconfig /flushdns on both DCs and check again.

Replication broke after a DC changed address

DNS still holds records for the old address. List them on each DC, check the list, then remove them.

Either DC
$old = "10.0.20.99"    # the OLD address
Get-DnsServerResourceRecord -ZoneName "ad.contoso.com" -RRType A |
  Where-Object { $_.RecordData.IPv4Address -eq $old }
# when the list is right, add:  | Remove-DnsServerResourceRecord -ZoneName "ad.contoso.com" -Force
ipconfig /flushdns
ipconfig /registerdns
nltest /dsregdns

Check the records named @, DomainDnsZones and ForestDnsZones, and gc in _msdcs.ad.contoso.com. People miss these.

A PC keeps looking for the old DC address

Group Policy hangs or sign-in is slow. Make the PC find a DC again and drop its old tickets.

The PC
nltest /dsgetdc:ad.contoso.com /force
klist purge
gpupdate /force

A member server lost its trust with the domain

Test-ComputerSecureChannel returns False on a server that is not a DC. Reset it without rejoining:

Member server
nltest /sc_reset:ad.contoso.com

CON-DC-02's clock is wrong

Check w32tm /query /source. If it shows "VM IC Time Synchronization Provider", turn off Hyper-V time sync on the host. If it shows "Local CMOS Clock", run the domhier commands again.

"Ethernet 2" and "Element not found"

Select the network card by MAC address, as in Prepare the second server.

Your progress is kept in this browser only.