~/checking the dns records active directory replication depends on

DNSLint is long retired. Here's how to check the DNS records that Active Directory replication relies on today, using dcdiag, nltest and PowerShell.

Updated November 2026. The original 2012 post covered DNSLint, a Microsoft support tool that has since been retired and isn’t available for current Windows versions. The same checks are now built into Windows.

Why it matters

Active Directory replication relies on DNS. Each domain controller registers SRV records and a CNAME under _msdcs so other DCs can find it. If those records are missing or stale (often after removing a failed DC), replication breaks in ways that are hard to diagnose.

The original method (DNSLint)

Back then I’d run:

dnslint /ad /s IP_ADDRESS

where IP_ADDRESS was one of the domain’s DNS servers. It produced a report showing whether each DC’s replication records resolved.

The modern method

1. dcdiag DNS tests

Run this on a DC, or against one with /s:DCNAME:

dcdiag /test:dns /v

This checks DNS delegation, forwarders, dynamic updates and record registration. To check every DC in the forest:

dcdiag /test:dns /e /v > dnsreport.txt

To check only that a DC’s records are registered:

dcdiag /test:dns /DnsRecordRegistration

2. Check the key records directly

Resolve-DnsName -Type SRV _ldap._tcp.dc._msdcs.yourdomain.local
Resolve-DnsName -Type SRV _kerberos._tcp.yourdomain.local

Every live DC should appear, and no removed DC should.

3. Check DC discovery

nltest /dsgetdc:yourdomain.local

4. Re-register a DC’s records

If a DC’s records are missing, run these on that DC:

ipconfig /registerdns
nltest /dsregdns

ipconfig /registerdns refreshes the DC’s host (A) record, and nltest /dsregdns re-registers its SRV and _msdcs records. Restarting the Netlogon service does the same as the second command.

After removing a failed DC

Once you’ve cleaned up its metadata, check DNS for leftovers: its A record, the _msdcs CNAME (named after its GUID) and any SRV records still pointing at it. Delete them, then run dcdiag /test:dns /e again to confirm everything is clean.