Domain Join Error Code 0x0000232A: DNS Server Failure When Locating a Domain Controller

Domain join error 0x0000232A: the DC SRV query returned DNS server failure (RCODE_SERVER_FAILURE). Type the DNS domain name, fix client DNS settings, root hints or delegation, check SRV records and test with nltest /dsgetdc.

Home › Guides › Domain join error 0x0000232A

Last updated 21 November 2026

Quick answer

Error code 0x0000232A on a domain join means the DNS name can't be resolved: the SRV query the client uses to find a domain controller came back with DNS server failure (RCODE_SERVER_FAILURE). Microsoft says the code can appear with RCODE_NAME_ERROR and RCODE_SERVER_FAILURE, which point to DNS settings or root hints, and that it can also occur when the client lacks NetBIOS name resolution to the domain. The fixes:

  1. Type the domain's DNS name (contoso.com), not its NetBIOS name (contoso).
  2. Check that the client's DNS server settings point to the correct DNS server.
  3. In the DNS management console, confirm the DC's SRV records are registered.
  4. Test again with nltest /dsgetdc until it returns a DC.

What the error looks like

Joining a workgroup computer to the domain fails in Computer Name/Domain Changes. The dialog, whose details are also written to C:\WINDOWS\debug\dcdiag.txt, reads:

Error code 0x0000232A
An Active Directory Domain Controller (AD DC) for the domain "<NetBIOS_name>" could not be contacted.
Ensure that the domain name is typed correctly.
If the name is correct, click Details for troubleshooting information.

The domain name "<NetBIOS_name>" might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS.
If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.
The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain "<NetBIOS_name>":
The error was: "DNS server failure." (error code 0x0000232A RCODE_SERVER_FAILURE)
The query was for the SRV record for _ldap._tcp.dc._msdcs.<NetBIOS_name>
Common causes of this error include the following:
The DNS servers used by this computer contain incorrect root hints. This computer is configured to use DNS servers with the following IP addresses:
<ip_address>
One or more of the following zones contains incorrect delegation:
<NetBIOS_name>
. (the root zone)

netsetup.log (%windir%\debug\netsetup.log) shows the domain name check failing with 0x54b:

NetpValidateName: checking to see if '<NetBIOS_name>' is valid as type 3 name
NetpCheckDomainNameIsValid for <NetBIOS_name> returned 0x54b, last error is 0x0
NetpCheckDomainNameIsValid [ Exists ] for '<NetBIOS_name>' returned 0x54b

How to read the dialog

Line in the dialogWhat it tells you
The domain name might be a NetBIOS domain nameThe name typed was not a DNS name. If it really is a NetBIOS name it must be registered with WINS; otherwise retype the DNS name of the domain.
DNS server failure (0x0000232A RCODE_SERVER_FAILURE)The DNS query for the DC locator SRV record returned DNS server failure.
The query was for the SRV record for _ldap._tcp.dc._msdcs.<NetBIOS_name>The SRV record used to locate a DC for the domain name you entered.
Incorrect root hints / incorrect delegationCommon causes listed in the dialog: incorrect root hints on the DNS servers this computer uses (listed by IP address), or incorrect delegation in one of the listed zones, including the root zone.

The netsetup.log status 0x54b is the same code as the domain join error 0x54B (DC could not be contacted); that guide covers the timeout version of the dialog and the port checks.

Step 1: enter the DNS domain name

When you enter the domain name, enter the DNS domain name rather than the NetBIOS name. If the DNS name of the domain is contoso.com, enter that instead of contoso. Microsoft's networking-errors article (KB 4341920) gives the same advice for the related DNS messages during a join.

Step 2: check the client's DNS settings

Verify that the client's DNS server settings point to the correct DNS server: one that hosts the DNS zone of the target domain or can resolve DNS names in it, configured as the preferred DNS server, and reachable from the client (KB 4341920). Microsoft's domain join checklist says DNS is one of the first things to check for any join issue:

CheckMake sure
DNS server addressesThey are correct.
DNS suffix search orderIt is correct if multiple DNS domains are in play.
Stale or duplicate recordsNo stale or duplicate DNS records reference the same computer account.
Reverse DNSIt doesn't point to a different name than the A record.
ReachabilityThe domain name, the DCs and the DNS servers can be pinged.
Record conflictsThere are no DNS record conflicts for the specific server.

Step 3: confirm the SRV records

In the DNS management console, confirm that the SRV records for the Active Directory domain controllers are registered correctly. The record in the dialog, _ldap._tcp.dc._msdcs.<domain>, is the SRV record used to locate a DC. If a DC's records are missing, see Netlogon events 5774 and 5781 (DNS registration failed).

Step 4: test DC discovery

After the changes, test that DNS queries from the client to AD DS succeed with nltest /dsgetdc. KB 4341920 gives the forms nltest /dsgetdc:<DNS domain name> /force and nltest /dsgetdc:<netbios domain name> /force. The expected output names a DC:

           DC: \\DC.contoso.com
      Address: \\<ip_address>
     Dom Guid: <Dom_Guid>
     Dom Name: contoso.com
  Forest Name: contoso.com
 Dc Site Name: Default-First-Site-Name
Our Site Name: Default-First-Site-Name
        Flags: PDC GC DS LDAP KDC TIMESERV WRITABLE DNS_DC DNS_DOMAIN DNS_FOREST CLOSE_SITE FULL_SECRET WS DS_8 DS_9
The command completed successfully

Other network-related join errors: see 0x6BA, 0x6D9 or 0x40.

Related tools and guides

Look up Netlogon 5774 and 5781 on the DC in the Windows Event ID Lookup, copy the nltest /dsgetdc lines from the PowerShell Cheat Sheet, pull the SRV query and error code lines out of dcdiag.txt with the Regex Tester, check that the DNS server addresses on the client are in the subnets you expect with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor of the joining client with the MAC Vendor Lookup. Related guides: domain join error 0x54B, Netlogon events 5774 and 5781, domain join status 0x6BA and common AD replication errors.

Windows activation failing with the same DNS error family? See KMS activation errors 0x8007232A and 0x8007232B.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What does error code 0x0000232A mean during a domain join?

The DNS name cannot be resolved. The SRV query used to locate a domain controller returned DNS server failure (RCODE_SERVER_FAILURE). It can also occur if the client lacks NetBIOS name resolution to the domain.

Why does the 0x0000232A dialog mention a NetBIOS domain name?

Because the name typed may be a NetBIOS name. Then it must be registered with WINS. Microsoft says to enter the DNS domain name instead, for example contoso.com rather than contoso.

What do root hints and delegation have to do with error 0x0000232A?

The dialog lists them as common causes: incorrect root hints on the DNS servers the computer uses, or incorrect delegation in one of the listed zones, including the root zone.

How do I fix domain join error 0x0000232A?

Enter the DNS domain name, point the client to the correct DNS server, confirm the DC SRV records are registered in the DNS console, and test with nltest /dsgetdc until it returns a DC.

What should nltest /dsgetdc show when DNS is fixed?

A DC name and address, the domain and forest names, the site names and flags such as PDC GC DS LDAP KDC, ending with The command completed successfully.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.