Others

Why onmicrosoft.com Domains Only Allow TXT DNS Records

Khadija KhanKhadija Khan Oct 22, 2026 870 views

Question details

Administrators are unable to add custom CNAME, MX, or SPF records to default onmicrosoft.com domains because only TXT record options are available.

Why onmicrosoft.com Domains Only Allow TXT DNS Records
Product
Microsoft 365
Device & OS
not provided
Scenario
Managing DNS records for a Microsoft 365 tenant.
Observed behavior
The system only allows the addition of TXT records for the default onmicrosoft.com domain, restricting other custom DNS record types.
Before you start

Ensure you have global administrator access to your Microsoft 365 admin center and access to the DNS management portal of a third-party domain provider.

Solution 1Recommended

Add and Verify a Custom Domain

Since onmicrosoft.com domains restrict custom DNS entries, you must add a custom domain to manage CNAME, MX, SPF, and other record types.

Microsoft designs the default 'onmicrosoft.com' domain for initial setup and internal routing. It intentionally limits custom DNS configurations to prevent routing conflicts. To gain full control over your DNS settings, you need to connect a domain you own.

1
Access the Microsoft 365 Admin Center

Log in to the Microsoft 365 admin center as a Global Administrator.

2
Navigate to Domains

Go to 'Settings' and select 'Domains' from the left-hand menu.

3
Add a new domain

Click on 'Add domain' and enter the name of your custom domain (e.g., yourcompany.com).

4
Verify domain ownership

Follow the setup wizard to verify domain ownership by adding the provided TXT record to your DNS hosting provider.

5
Manage your DNS records

Once verified, you can manage and add any required CNAME, MX, or SPF records directly through your DNS provider's portal.

Add and Verify a Custom Domain
DNS Propagation: Keep in mind that DNS changes, such as adding a new custom domain and verifying it, can take anywhere from a few minutes to 48 hours to fully propagate.
Free Microsoft Office alternative

Looking for a Lightweight Office Suite Alternative?

While managing complex Microsoft 365 setups and domains can be time-consuming, your everyday document work doesn't have to be. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, allowing you to seamlessly create, edit, and manage documents without the administrative hassle.

Fully compatible with Microsoft Office formats including Word, Excel, and PowerPoint.Free to download and use with a highly familiar user interface.Lightweight software that consumes minimal system resources.Built-in PDF editing tools without needing extra subscriptions.
microsoft office alternative - wps office

Frequently Asked Questions

Can I bypass the restriction and add a CNAME record to my onmicrosoft.com domain?

No, Microsoft explicitly restricts adding custom CNAME, MX, or SPF records to default onmicrosoft.com domains. This limitation is by design and cannot be bypassed.

What is the primary purpose of the default onmicrosoft.com domain?

The onmicrosoft.com domain serves as your initial fallback domain. Microsoft 365 uses it for behind-the-scenes routing, SharePoint URLs, and as a default email routing address before you configure a custom domain.

Are there any automatically created CNAME records for the default domain?

Yes, Microsoft 365 automatically provisions certain essential CNAME records for the onmicrosoft.com domain internally, but administrators cannot manually view, add, or edit these custom CNAME records.