Fix Microsoft 365 Cannot Find Domain Nameservers or DNS Records
Question details
The user is unable to validate a custom domain in Microsoft 365 because the system reports that no nameservers or DNS records can be found, even though external lookup tools show the TXT record.

- Product
- Microsoft 365 Business Basic
- Device & OS
- not provided
- Scenario
- Adding and verifying a new custom domain in the Microsoft 365 Admin Center.
- Observed behavior
- Domain validation fails with an error stating no nameservers or DNS records are found, despite the TXT record being successfully added and visible via third-party DNS tools.
Ensure you have administrator access to the Microsoft 365 Admin Center and the active control panel of your domain's DNS hosting provider.
Verify Authoritative Nameservers and Wait for DNS Propagation
Confirm that your TXT record is added to the correct active DNS zone and allow sufficient time for Microsoft's servers to recognize the updated DNS propagation.
A common reason for this error is adding the Microsoft 365 verification TXT record to your domain registrar, while your domain is actually pointing to a third-party nameserver (like Cloudflare or a web hosting provider). Additionally, Microsoft 365 may still be checking cached DNS data even if external tools show the updated record.
Use a public WHOIS or DNS lookup tool to check the current authoritative nameservers for your domain to confirm where your DNS zone is actually hosted.
Log in to the control panel of the active DNS host identified in the previous step, and ensure the specific MS=msXXXXXXXX TXT record provided by Microsoft 365 is added to this active zone.
Wait for the DNS changes to propagate across global servers. While some tools update instantly, Microsoft 365 validation can take anywhere from 15 minutes to 48 hours to recognize new records.
Return to the Microsoft 365 Admin Center, navigate to Settings > Domains, select your domain, and click 'Verify' again.

Switch to WPS Office for a Lightweight Document Solution
While configuring Microsoft 365 admin domains can be a complex technical process, your daily document editing should be simple. WPS Office offers a powerful, free, and lightweight alternative to Microsoft Office apps, keeping your team productive without the hassle.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the quick on-screen instructions to set up the software in minutes.
- 3. Open existing documents: Double-click any existing Microsoft Office file on your device to seamlessly open, edit, and save it using WPS Office.

Frequently Asked Questions
Why does Microsoft 365 say it can't find my DNS record when third-party tools can?
Microsoft 365 relies on specific server routes that might still hold cached DNS data. While an external lookup tool might query a freshly updated nameserver directly, the DNS resolvers used by Microsoft 365 might take longer to clear their cache and see the new TXT record.
How do I know which DNS provider to add the Microsoft 365 TXT record to?
You must add the record to the provider that hosts your domain's active, authoritative nameservers. You can check your domain registrar's settings or use a WHOIS lookup tool to see exactly where your nameservers are currently pointing.
What happens if I added the TXT record to the wrong DNS zone?
If your domain points to a different hosting provider (like a separate web host) but you added the TXT record at your domain registrar, the record will remain inactive. You must log into the active DNS provider's dashboard and copy the TXT record into their zone editor.
Can I use an MX record instead of a TXT record for Microsoft 365 domain verification?
Yes, Microsoft 365 allows you to verify a domain using an MX record if your DNS hosting provider does not support TXT records or if you are having issues with TXT validation. However, TXT records are usually the preferred and faster method.




