Skip to content
SysA&E

Microsoft 365 DNS records

Generate the DNS records a domain needs for Microsoft 365 and check they are live.

Runs in your browser. DNS queries go straight from your browser to Cloudflare or Google over HTTPS, not through our servers.

Loading tool…

What this tool does

Adding a domain to Microsoft 365 means creating a dozen DNS records across several services. Enter the domain, tick the services you use and get the full set ready to paste into your DNS host, then check which ones are already live.

How to use it

  1. Enter your domain and, for DKIM, your tenant name (the part before .onmicrosoft.com).
  2. Tick the services you use.
  3. Copy records one at a time or export them as a zone file.
  4. Select Check live DNS to compare against what is published now.

Questions and answers

Can I trust generated values over the admin center?

Treat the admin center as the source of truth. Most values are the same for every tenant, but the verification TXT, DKIM targets and MX host for some domains are tenant-specific. Notes on each record say when to copy the real value.

Why are there two DKIM formats?

Domains added since May 2025 use CNAME targets ending in dkim.mail.microsoft; older domains use targets ending in onmicrosoft.com. Run Get-DkimSigningConfig to see which your domain uses.

Do I still need the Teams records?

The SRV record for federation is the one that matters for most tenants. The others come from Skype for Business and are still listed by the admin center, so publishing them avoids setup warnings.