How to Fix Mail Protection Host Cannot Be Resolved in DNS
Question details
The user is experiencing email delivery failures because the Microsoft 365 mail protection host cannot be found in DNS.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Setting up or troubleshooting email delivery for a custom domain in Microsoft 365.
- Observed behavior
- Emails fail to deliver, returning an error stating the mail protection host cannot be resolved in DNS.
Ensure you have administrative access to your domain registrar's DNS management portal and your Microsoft 365 admin center.
Verify and Update Your Domain's MX Record
Ensure your domain's MX record correctly points to Microsoft 365 so incoming emails can be routed properly.
The MX (Mail Exchanger) record directs email to a mail server. If this record is missing, incorrect, or pointing to a non-existent host, senders will receive a bounce-back error indicating the host cannot be resolved.
Log in to your domain registrar's website and navigate to the DNS management or DNS zone editor dashboard.
Find the existing MX record for your domain. If you are migrating to Microsoft 365, you may need to delete older MX records.
Add or edit the MX record to point to the Microsoft 365 address format: yourdomain-com.mail.protection.outlook.com.
Set the Priority value to 0 and the TTL (Time to Live) to 3600 seconds (or 1 hour), then save your changes.

Check and Update SPF Records
A correct SPF record prevents your emails from being rejected by recipient servers or flagged as spam.
Experience Seamless Productivity with WPS Office
While resolving domain and DNS issues requires administrative troubleshooting, your everyday document tasks shouldn't be complicated. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office. Enjoy a familiar interface for Writer, Spreadsheet, and Presentation, ensuring a smooth transition for all your document needs without the premium subscription costs.
- 1. Download the Installer: Visit the official WPS website and download the free installation package for your Windows, Mac, or Linux operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup process in minutes.
- 3. Open Your Documents: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files to experience perfect layout retention and compatibility.

Frequently Asked Questions
How long does it take for MX record changes to take effect?
DNS changes typically take between 1 to 48 hours to propagate globally. During this transition period, some emails may still fail to deliver until the updated routing is recognized worldwide.
Where can I find my exact MX record value for Microsoft 365?
You can locate your specific MX record value in the Microsoft 365 Admin Center. Navigate to Settings, then click on Domains, select your custom domain, and view the required DNS records section.
Can I have multiple MX records for the same domain?
Yes, you can configure multiple MX records for redundancy by assigning them different priority values. However, for Microsoft 365 to function correctly as your primary email host, its MX record must have the lowest priority number (usually set to 0).




