ns1 to ns4.bdm.microsoftonline.com mean Microsoft 365 manages the domain’s DNS. Microsoft withdrew its guide to setting this up between November 2025 and April 2026; its guides now cover adding records at your own DNS host.
| Whose | Microsoft 365 — DNS service |
| Nameservers | ns1 to ns4.bdm.microsoftonline.com |
| How they are given | The same four for every tenant |
Does your domain use Microsoft 365’s nameservers?
Enter a domain: we ask its registry which nameservers it hands out, ask each of them for the zone, and say whose they are — and whether any does not answer or disagrees.
The names
What Microsoft 365’s nameservers look like:
ns1.bdm.microsoftonline.com
ns2.bdm.microsoftonline.com
ns3.bdm.microsoftonline.com
ns4.bdm.microsoftonline.com
Where to see and change them
The Microsoft 365 admin center: Settings, Domains, the domain, then its DNS records.
Worth knowing
With DNS managed by Microsoft — or a domain bought from Microsoft — you cannot add subdomains to the tenant.
Microsoft 365 operated by 21Vianet uses ns1 to ns4.dns.partner.microsoftonline.cn.
Common mistakes
- Moving the nameservers to Microsoft 365 without adding the website’s and other services’ records: Microsoft warned it could take them down.
Sources
Checked on 27 September 2026 against these official sources:
- Change nameservers to set up Microsoft 365 with any domain registrar — learn.microsoft.com, archived copy of 22 November 2025
- Connect your domain by adding DNS records — learn.microsoft.com
- Domains Frequently Asked Questions — learn.microsoft.com