---
title: Configure Microsoft 365 DNS, MX and SRV Records
description: "When Microsoft 365 handles email for a domain hosted with Jansma VIP, its DNS records must be added accurately while website and other service records remain intact. ## Before changing DNS Copy the current DNS zone, confirm that the domain…"
url: "https://support.jansma.vip/docs/vip-hosting/email/configure-microsoft-365-dns-mx-and-srv-records/"
updated: "2026-09-27"
category: "E-Mail"
---

# Configure Microsoft 365 DNS, MX and SRV Records

When Microsoft 365 handles email for a domain hosted with Jansma VIP, its DNS records must be added accurately while website and other service records remain intact.

## Before changing DNS

Copy the current DNS zone, confirm that the domain is verified in Microsoft 365 and obtain the exact records shown in the Microsoft administration portal. Values vary by tenant, so do not reuse records from another domain.

## Typical records

- TXT record for domain verification.
- MX record for incoming Microsoft 365 mail.
- SPF TXT record that includes every legitimate sender.
- CNAME records for service discovery and DKIM where enabled.
- SRV records for Microsoft communication or discovery services when requested.

## Apply and verify

1. Add or replace only the records identified by Microsoft.
2. Do not change the website A, AAAA or CNAME records unless the website is also moving.
3. Remove obsolete mail-routing records after confirming the migration plan.
4. Allow for DNS propagation, then run Microsoft verification and test mail in both directions.

Avoid publishing multiple SPF records. If another service also sends mail, merge it into one policy. During a migration, keep the previous mailbox data until new delivery, historical messages and client access have been verified.
