EdbMails EDB Recovery and Migration software
  • Products
    EdbMails
    All-in-one Recovery and Migration
    • EDB Recovery and Migration
    • OST, PST, MBOX, NSF, EML, MSG
    • Office 365, Exchange Migration
    • SharePoint, OneDrive & Teams
    • Google Workspace Migration
    • IMAP Migration
    • Duplicate Remover
    • EdbMails Data Recovery
    • Backup Solutions
    • All ProductsAll Products

    EDB Recovery and Migration

    EdbMails lets you recover corrupted, damaged, and offline Exchange EDB files, convert EDB mailboxes to PST format, and directly migrate mailbox data to Office 365 and live Exchange Server.

    EDB to PST
    EDB to PST
    Recover corrupted, damaged, offline EDB files and convert Exchange EDB mailboxes to PST file format
    Public Folder to Exchange
    Public Folder to Exchange
    Migrate public folders from an Exchange offline EDB file to live Exchange Server
    EDB to Live Exchange Migration
    EDB to Live Exchange Migration
    Directly migrate offline Exchange database (EDB) files to live Exchange server
    Archive Mailbox to Office 365
    Archive Mailbox to Office 365
    Migrate archive mailboxes from offline EDB files directly to Office 365
    EDB to Office 365 Migration
    EDB to Office 365 Migration
    Directly migrate offline Exchange database (EDB) files to Office 365
    Public Folder to Office 365
    Public Folder to Office 365
    Migrate public folders from an offline Exchange EDB file to Office 365

    OST, PST, MBOX, NSF, EML, MSG Export and Migration

    EdbMails lets you to recover OST and PST files, export OST, PST, MBOX, NSF, EML, and MSG files to PST files, and directly migrate OST, PST, MBOX, and NSF mailbox data to Office 365 and live Exchange Server.

    OST Recovery and Migration
    OST Recovery and Migration
    Recover offline OST files, convert OST to PST, and migrate OST to Office 365 and Exchange Server
    PST Recovery and Migration
    PST Recovery and Migration
    Recover Outlook PST files , Export PST to PST, migrate PST to Office 365 and Exchange Server
    MBOX Export and Migration
    MBOX Export and Migration
    Export MBOX to PST, migrate MBOX to Office 365 and Exchange Server
    NSF Export and Migration
    NSF Export and Migration
    Export NSF to PST, migrate NSF to Office 365 and Exchange Server
    EML to PST Export
    EML to PST Export
    Convert EML files to Outlook PST files
    PST to MSG Export
    PST to MSG Export
    Convert Outlook PST file to MSG file format
    MSG to PST Export
    MSG to PST Export
    Export MSG files to Outlook PST files

    Office 365, Exchange Migration

    EdbMails lets you securely migrate mailboxes across Microsoft 365, Exchange, Google Workspace (Google Workspace Migraton), and IMAP-supported servers such as Outlook, Gmail, Zimbra, Zoho Mail, and cPanel, ensuring zero downtime.

    Office 365 Backup
    Office 365 Migration
    Migrate between Office 365 tenants, Office 365 to Exchange, Office 365 to PST, PST files to Office 365.
    Exchange Server Backup
    Exchange Migration
    Migrate between any Exchange Servers, Exchange to Office 365, Exchange to PST, PST files to Exchange.
    Tenant to Tenant Migration
    Tenant to Tenant Migration
    Migrate Mailboxes, Public Folders, Archive Mailboxes between Office 365 Tenants.
    Exchange to Office 365
    Exchange to Office 365
    Migrate Mailboxes, Public Folders, Archive Mailboxes from live Exchange server to Office 365.
    Office 365 to IMAP
    Office 365 to IMAP
    Migrate Office 365 to IMAP, Office 365 to Gmail, Office 365 to Outlook, Office 365 to Zoho etc.
    Exchange to IMAP
    Exchange to IMAP
    Migrate from live Exchange Server to IMAP servers such as Gmail, Outlook, and Zoho Mail.
    Public Folder to Office 365
    Public Folder to Office 365
    Migrate Public Folders between Office 365 tenants with complete folder hierarchy and mailbox data integrity.
    Exchange to PST
    Exchange to PST
    Export live Exchange Server mailboxes, public folders, and archive mailboxes to Outlook PST files.

    SharePoint, OneDrive & Microsoft Teams Migration

    EdbMails lets you migrate SharePoint sites, OneDrive data, Microsoft Teams, teams, channels, chats, permissions, and documents between Microsoft 365 tenants while maintaining the existing folder structure and data integrity.

    SharePoint, OneDrive & Teams Backup
    SharePoint Online Migration
    Migrate documents, lists, files and folders from SharePoint sites.
    OneDrive for Business Migration
    OneDrive for Business Migration
    Migrate documents, lists, files, folders, private chats from OneDrive.
    Microsoft Teams Migration
    Microsoft Teams Migration
    Migrate Teams, chats, channels, documents, files and folders etc.

    Google Workspace / G Suite Migration

    EdbMails offers secure Google Workspace migration to Office 365, Exchange, or IMAP, and export to PST covering emails, contacts, calendars and tasks.

    Google Workspace Migration
    Google Workspace Migration
    Migrate emails, calendars, contacts, tasks from Google workspace to Google workspace, office 365, Exchange and IMAP. Export to PST
    Google Workspace to Office 365
    Google Workspace to Office 365
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to Office 365
    Google Workspace to Exchange Server
    Google Workspace to Exchange Server
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to on-Premise Exchange Server
    Google Workspace to IMAP
    Google Workspace to IMAP
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to IMAP, Outlook, Zimbra, Zoho etc.
    Google Workspace to Google Workspace Migration
    Google Workspace to Google Workspace
    Migrate emails, calendars, contacts, tasks between two Google Workspace / G Suite tenants
    Google Workspace to PST
    Google Workspace to PST
    Export emails, calendars, contacts, tasks from Google Workspace / G Suite to Outlook PST files

    IMAP Migration

    EdbMails IMAP Migration tool lets you easily migrate emails from IMAP servers such as Outlook, Gmail, Zoho Mail, Zimbra, cPanel, and more. Supports IMAP to IMAP, Office 365, Exchange Server, PST, and bulk PST to IMAP migration.

    IMAP Email Backup & Migration
    IMAP Email Backup & Migration
    Backup and migrate emails from IMAP servers to PST, Office 365, and On-Premises Exchange Server
    IMAP to Office 365
    IMAP to Office 365
    Migrate emails, folders, and attachments from IMAP servers to Office 365
    IMAP to Exchange
    IMAP to Exchange
    Migrate emails, folders, and attachments from IMAP servers to on-premises Exchange Server
    IMAP to PST
    IMAP to PST
    Export emails, folders, and attachments from IMAP servers to Outlook PST files for backup
    PST to IMAP
    PST to IMAP
    Migrate emails, folders, and attachments from bulk PST files to IMAP servers

    Duplicate Remover

    EdbMails Duplicate Remover lets you easily remove duplicate items from Office 365 and Exchange Server, and from IMAP, Outlook, Gmail, Zimbra, Zoho Mail, etc., ensuring a clean and organized mailbox.

    Remove Duplicates
    Remove Duplicates
    Easily clean up your Office 365, Exchange, Outlook and IMAP accounts by removing duplicate emails.
    Remove Duplicates from Office 365
    Remove Duplicates from Office 365
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from Office 365.
    Remove Duplicates from Exchange Server
    Remove Duplicates from Exchange Server
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from live Exchange Server.
    Remove Duplicates from IMAP, Outlook
    Remove Duplicates from IMAP, Outlook
    Remove duplicate emails, attachments from IMAP, Outlook, Gmail, Zimbra, Zoho Mail etc.

    Exchange, SharePoint, OneDrive, Teams and Office 365 Backup

    EdbMails enables secure, automated backup and recovery for Microsoft 365 services including Exchange Online, SharePoint, OneDrive, Teams, and Live Exchange Server with complete data protection and restore flexibility.

    Office 365 Backup
    Office 365 Backup
    Incremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    Exchange Server Backup
    Exchange Server Backup
    Incremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    SharePoint, OneDrive & Teams Backup
    SharePoint, OneDrive & Teams Backup
    Backup Online site collections, Team sites, Office 365 groups, all documents etc.

    EdbMails Data Recovery

    EdbMails Data Recovery Software lets you recover permanently deleted data, including photos, videos, documents, and archived files, from partitions on hard drives, SSDs, USB drives, SD cards, and external storage devices.

    EdbMails Data Recovery
    EdbMails Data Recovery
    Recover and restore permanently deleted data from hard drives, SSDs, USB drives, SD cards, and etc.
    Whitepaper Whitepaper
    Request a Demo Request a Demo
    Sign Up Sign Up
  • Features
  • FAQ
  • Offers
  • Pricing
  • Download
  • Support
  • Sign in
User’s Manual
Office 365 Migration Tool

User Manual

User Manual

  • Office 365 Migration Tool Overview
  • What is Office 365 Migration?
  • System Requirements
  • Migration Scenarios
  • Software Setup
    • EdbMails Installation Process
    • Upgrading the Software
  • Understanding the Application
    • Software's Main Components
    • Understanding the Migration
  • FAQ
    • General
    • Migration Free Trial / Demo
    • Migration License
    • Before Migration
    • Migration - Steps
    • After Migration
  • Videos
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Archive Mailbox to Office 365
    • Public Folder to Exchange
    • Archive Mailbox to Exchange
    • Restore Bulk PST files to Office 365
    • Automatically Create Office 365 Mailboxes
    • Export Office 365 user to CSV file
  • Screenshots
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to PST
  • How it works?
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Public Folder to Exchange
    • Public Folder to Shared Mailbox
    • Archive Mailbox to Office 365
    • Archive Mailbox to Exchange
    • Office 365 to Hosted Exchange
    • Multiple PST to Office 365
    • Office 365 to Gmail Migration
    • Office 365 Shared mailbox to Exchange
    • Office 365 Public folders to PST
    • Office 365 archive mailbox to PST
    • Office 365 Shared mailbox to PST
    • Office 365 shared mailbox to Public folder
    • Office 365 Archive mailbox to Shared mailbox
    • Office 365 Shared mailbox to Archive mailbox
  • Connect to source Office 365
  • Connect to target Office 365
  • Modern Authentication Using OAuth 2.0
    • Microsoft 365 modern authentication
    • Automatic Registration
    • Manual Registration
  • Connect to Exchange server
  • Knowledge Base
    • Migrate between Office 365 tenants
    • Migrate Office 365 mailbox
    • Public folder migration
    • Office 365 Migration with same Domain
    • Office 365 Group Migration
    • Selective Mailbox Migration
    • Migration to Exchange 2007, 2010, 2013, 2016 and 2019
    • User-Defined Mailbox/Folder Mapping
    • Export Office 365 users to CSV
    • GoDaddy to Microsoft 365 migration
    • Rackspace to Office 365 migration
    • Office 365 migration methods
    • Office 365 migration checklist
    • Migrate Shared mailbox to Office 365
    • Office 365 migration best practices
    • Office 365 migration challenges
    • Convert shared mailbox to regular mailbox
    • Office 365 to Exchange 2019 migration
    • Office 365 multiple mailbox migration
    • Office 365 Server to Server Migration
    • Cross-Tenant Office 365 migration
    • Office 365 to iCloud migration
    • Office 365 to Yahoo Mail migration
    • Office 365 to cPanel Migration
    • Office 365 to SmarterMail Migration
    • Office 365 to IceWarp migration
    • Create an Office 365 Migration Endpoint
    • Validate Office 365 Mailbox Migration
    • Office 365 Migration Network Requirements
    • Microsoft 365 Migration URLs & Endpoints
    • Office 365 Migration Firewall Ports
    • DNS Changes After Office 365 Migration
    • Autodiscover Troubleshooting After Migration
    • Post-Migration MX Record Validation
    • Office 365 Mail Flow Troubleshooting
    • Mailbox Permission Validation
    • EdbMails vs CodeTwo vs MigrationWiz vs Native Tools
    • Calendar Permission Migration Issues
    • Folder Permission Troubleshooting
    • Large Mailbox Migration Best Practices
    • Archive Mailbox Sync Issues
    • Office 365 Migration Coexistence
    • Cross-Tenant Mailbox Permissions
    • Cross-Tenant Calendar Migration
    • Migration Using App-Only Authentication
    • Office 365 Mailbox Mapping Errors
    • Exchange Online Migration Limits
    • Mailbox Integrity After Migration
    • Security Best Practices for Migration
    • Office 365 to cPanel Migration
    • Office 365 to SmarterMail Migration
    • Office 365 to IceWarp Migration
  • Migration Types
    • Cutover Migration
    • Staged Migration
  • Set Exchange Server Impersonation rights
  • Map the Mailboxes
  • Migration Walkthrough
    • Office 365 tenant to tenant migration
    • Office 365 to PST Export
  • Multifactor Authentication
    • Enable MFA in Office 365
    • Create App password for MFA
    • Disable Security Defaults
  1. Home
  2. Office 365 Migration Tool
  3. DNS Changes After Office 365 Migration | EdbMails
Download Buy Now

DNS Changes After Office 365 Migration

Mailbox migration moves the selected data, but it does not change where the internet sends new mail. That depends on the domain's DNS records and, in some environments, an email security gateway or hybrid mail route. Check those settings before users start relying on their Microsoft 365 mailboxes.

This guide covers the records that commonly need attention after a move from Exchange Server, a hosted mail service, or another Microsoft 365 tenant. The right values depend on your domain, the services you use, and whether mail will go directly to Exchange Online or through another system.

If you used EdbMails Office 365 migration software to move supported mailbox data, review the migration reports and run any planned follow-up pass before changing live mail routing. DNS changes are made with your DNS provider and Microsoft 365, outside the migration job.

Why DNS changes matter after migration

A migrated mailbox can be accessible in Outlook on the web while new messages continue to reach the old system. MX controls inbound routing; Autodiscover helps supported Outlook clients find their settings; SPF, DKIM, and DMARC help receiving systems evaluate mail sent from your domain. These are separate checks, so a successful MX update does not confirm that client discovery or outgoing email authentication is correct.

  • New mail may continue to arrive at the previous provider or gateway.
  • Outlook may discover the old mailbox, especially if internal Autodiscover records or a cached profile remain.
  • Legitimate outbound mail may fail authentication when an SPF record omits a sender or DKIM is not configured for the custom domain.

DNS records to review

Open Settings > Domains in the Microsoft 365 admin center, select the domain, and check its DNS records. Compare the values shown there with the records at the authoritative DNS host. You may already have some of these records; review them before adding or replacing anything.

RecordWhat to review
MXThe intended inbound route. Use the domain-specific Microsoft 365 value when Exchange Online receives mail directly; a gateway or hybrid design may use another route.
Autodiscover CNAMEHow supported Outlook clients find mailbox settings. A cloud-only configuration commonly uses autodiscover.outlook.com; check hybrid dependencies first.
SPF TXTOne SPF record for each sending domain or subdomain, covering Microsoft 365 and any other authorized senders.
DKIM CNAMEsTwo selector records for the custom domain, with the exact targets shown in Microsoft 365. Enable DKIM signing after the records are detected.
DMARC TXTThe policy and reporting record at _dmarc, reviewed alongside SPF and DKIM alignment.
Domain verification TXTNeeded when adding or transferring an unverified custom domain to a Microsoft 365 tenant; it is not a routine new record after every mailbox move.
Other CNAME or SRV recordsRecords for selected services such as Teams or Intune, if those services are part of the domain setup.

When should you change the records?

Cutover migration usually moves inbound routing after destination mailboxes, user access, and the final data pass have been checked.

For a staged migration, follow the agreed coexistence or forwarding plan. The MX record applies to the domain, not to individual batches of users, so changing it for one batch can affect mail for everyone at that domain.

Hybrid migration needs a review of mail connectors, accepted domains, internal DNS, and client discovery. Do not change Autodiscover to Exchange Online solely because some mailboxes have moved; remaining on-premises services can depend on the existing configuration.

In a tenant-to-tenant migration, plan the custom-domain move as well as DNS. A custom domain cannot be attached to both tenants at once. Remove its source-tenant dependencies, verify it in the destination tenant, assign the intended addresses, and confirm routing as part of the cutover.

Prepare for the DNS cutover

  • Confirm destination recipients and licenses are ready, then test sign-in and mailbox access through Outlook on the web.
  • Review mailbox mapping and migration reports. If a repeat pass is planned in EdbMails, run it against the same source and target before the final switch and check its results.
  • Record the current MX, Autodiscover, SPF, DKIM, and DMARC values, along with any gateway or connector settings.
  • Identify every service that sends as your domain, including printers, applications, and marketing platforms, before editing SPF.
  • Lower the existing MX record's TTL in advance when your DNS provider permits it. Allow its previous TTL to expire before the cutover if you need the new value to be cached for less time.
  • Keep the previous mail route available during the transition and agree on who will verify inbound and outbound messages.

Update MX for the planned inbound route

When Exchange Online should receive mail directly, copy the MX target shown for your domain in the Microsoft 365 admin center and enter it at the DNS host. Avoid using a sample value copied from another tenant. If a third-party gateway remains in front of Microsoft 365, review its downstream routing and connectors; the public MX may stay pointed at the gateway.

Check the route before switching

Make sure the domain is configured in the destination tenant, the target recipients can accept mail, and any coexistence route is ready. Then check the MX priority values. Lower numbers have higher priority; two records at the same priority may split delivery between systems if they point to different providers. Remove or reprioritize old entries only as your routing plan requires.

After the change, query public DNS for the domain's MX records and send a test message from an external account. Check where it arrived and review message trace in Exchange Online. Continue monitoring the previous route while resolver caches expire.

Check Autodiscover and outbound authentication

Autodiscover

For a cloud-only Exchange Online setup, compare the public autodiscover CNAME with the value shown in Microsoft 365, commonly autodiscover.outlook.com. In hybrid environments, review internal and external discovery plus any on-premises dependencies before changing it. If Outlook still opens the old mailbox after DNS is correct, inspect the existing profile and sign-in context.

SPF

Publish one SPF TXT record per sending domain or subdomain. If an SPF record already exists, add the appropriate Microsoft 365 mechanism to that record while retaining other legitimate senders. The simple value v=spf1 include:spf.protection.outlook.com -all fits only when Microsoft 365 is the sole authorized sender for that domain. Check the final record for duplicate SPF entries and excessive DNS lookups.

DKIM

For a custom sending domain, use the two selector1._domainkey and selector2._domainkey CNAME targets displayed for that domain in Microsoft 365. Target formats vary by when a domain was added, so do not copy another tenant's selector values. Once DNS is visible, enable DKIM signing for the custom domain and test an outbound message.

DMARC

Review the TXT record at _dmarc.yourdomain.com and the alignment of your legitimate sending services. If you are introducing DMARC, a p=none policy lets you monitor reports while you check SPF and DKIM; it does not instruct receivers to reject failing mail. Move to an enforcement policy only after reviewing the results and resolving legitimate failures.

Domain verification and other Microsoft 365 services

If the custom domain has not been verified in the destination tenant, use the verification TXT value generated in that tenant. In a tenant-to-tenant move, plan this alongside the removal of source-tenant domain references. TXT verification by itself does not redirect mail.

Teams, Intune, and other selected services can require additional CNAME or SRV records. Add only the records shown for the services you are configuring; they are not all required for an email-only migration.

Allow for DNS caching during the transition

DNS resolvers can keep an earlier answer until its TTL expires, so different senders may temporarily use different routes. Lowering TTL before the cutover can shorten later caching, but it does not erase records that are already cached. There is no fixed worldwide propagation time that applies to every DNS change.

Keep the previous route available until test mail and message traces show the intended flow and older cached paths are no longer delivering there. Record the original settings so the team can investigate or reverse a change if required.

Validate DNS, mail flow, and client access

  • Query the public records from more than one resolver. For example, use nslookup -type=mx yourdomain.com and nslookup -type=txt yourdomain.com. Check the Autodiscover CNAME, both DKIM selectors, and _dmarc.yourdomain.com separately.
  • Confirm the domain's DNS status in the Microsoft 365 admin center, then send inbound and outbound test messages to an external address.
  • Check Exchange Online message trace for delivery and inspect a received message's authentication results for SPF, DKIM, and DMARC. A successful inbound test does not prove outbound authentication.
  • Test Outlook setup for representative users and verify that mail sent during the transition reached the intended mailbox. Compare the migration reports with the destination mailbox before closing the old route.

Common problems after the switch

Why does mail still reach the old server?

Check cached MX answers, an old MX record with equal or higher priority, and any gateway that forwards to the previous environment. If public DNS is correct, use message trace and the old server's logs to identify the actual path.

Why does Outlook open the old mailbox?

Public DNS may be correct while internal Autodiscover, an existing Outlook profile, or a previous-tenant sign-in still points to the source. Test from inside and outside the network and review the client profile before changing more DNS records.

Why are outbound messages failing authentication?

Look for two SPF TXT records, an omitted third-party sender, DKIM selectors copied from the wrong tenant, or a DMARC policy that was tightened before all legitimate sources aligned. Fix the specific failing source and retest rather than removing authentication checks for the whole domain.


Additional resources:

  • How to Validate Office 365 Mailbox Migration Success
  • Office 365 migration checklist
  • Office 365 migration guide
  • MX record validation after migration
  • Autodiscover troubleshooting after migration
  • Office 365 mail flow troubleshooting
  • Office 365 Migration Best Practices
  • Incremental Office 365 Migration
lady image

 In this manual

IntroductionReasonsDNS CutoverUpdating MX RecordMX Update PrerequisitesVerifying MX RecordCommon MX Record Mistakes

Office 365 Migration

100 Mailboxes $299 Only

Buy Now

Need help?

24/7 Customer support

Contact us on Live chat

Personalized Demo

Book a personalized demo

Still need help?

Email us / Call us

@edbmails.com All rights are reserved Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now