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
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:
contoso.com), not its NetBIOS name (contoso).nltest /dsgetdc until it returns a DC.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
| Line in the dialog | What it tells you |
|---|---|
| The domain name might be a NetBIOS domain name | The 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 delegation | Common 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.
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.
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:
| Check | Make sure |
|---|---|
| DNS server addresses | They are correct. |
| DNS suffix search order | It is correct if multiple DNS domains are in play. |
| Stale or duplicate records | No stale or duplicate DNS records reference the same computer account. |
| Reverse DNS | It doesn't point to a different name than the A record. |
| Reachability | The domain name, the DCs and the DNS servers can be pinged. |
| Record conflicts | There are no DNS record conflicts for the specific server. |
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).
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.
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.
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.
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.
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.
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.
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.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.