Microsoft 365 DNS setup
Check Microsoft 365 MX, SPF, DKIM, DMARC and Autodiscover. Compare your tenant MX, then open Domains or Defender to fix records.
EMAIL PROVIDER DNS
cPanel mail records depend on your hosting account. Enter the MX hostname your host gave you to compare it with the published first-choice route.
Reviewed by Mira John Updated
Highlighted values appear on one resolver only.
@Use your host’s inbound exchanger. It can be mail.example.com or a hostname managed by your host.
Your MX targetIf the exchanger is your own hostname, check it resolves to the intended mail-server address.
@ or the envelope sender domainCopy the relevant suggestion from Email Deliverability and merge any other authorized sending services.
default._domainkey or the selector shown by cPanelPublish the suggested TXT key in the authoritative DNS zone.
_dmarcPublish one policy. Use reports and test messages to verify alignment before applying enforcement.
Open cPanel from your hosting account or the server’s HTTPS port 2083.
cPanel sign-in instructions Full documentation · external ↗
Open cPanel → Email → Email Routing and select the domain. Set Local for mail delivered on this server, or Remote for externally hosted mail. Set the host-provided MX in Zone Editor when cPanel serves the public zone.
Check the exchanger’s A and AAAA records in the authoritative zone. Use the hostname and address supplied by the host. In cPanel-hosted DNS, use Domains → Zone Editor → Manage.
Open Email → Email Deliverability → Manage. Copy the suggested SPF and merge other authorized senders. Publish the record at the active DNS host.
In Email Deliverability → Manage, copy the suggested selector and TXT value. Install it in cPanel when it hosts DNS, or copy the full key to the authoritative provider.
Edit the single _dmarc TXT record in the DNS zone. Check the policy that applies to the From domain. Use aggregate reports and verify alignment for each sending service before moving to quarantine or reject.
For self-hosted mail, identify the IP that sent a test message and check its PTR and matching forward address. Ask the IP provider to make reverse DNS changes. A normal DNS zone edit at the mail domain cannot change the PTR for that IP.
Verify SPF, DKIM and DMARC on a received message.
An MX change can reroute or interrupt inbound mail. Monitor MX records with DNS Notify.
Replace the example domain and selector with your own.
dig +short example.com MX
dig +short mail.example.com A
dig +short default._domainkey.example.com TXT
dig +short -x 192.0.2.25Check Microsoft 365 MX, SPF, DKIM, DMARC and Autodiscover. Compare your tenant MX, then open Domains or Defender to fix records.
Check Amazon SES Easy DKIM selectors and DMARC, plus MX and SPF on an optional custom MAIL FROM subdomain. Get fixes for public DNS mismatches.