How to modify DNS record for Microsoft 365
- login to the control panel
- go to the DNS page > select your domain
- your page should look like this
- login to Microsoft 365 admin center
- go to Settings > Domain > select your domain
- your page should look like this
- you have to copy and paste the values form Microsoft to your down DNS zone (please only copy-and-paste, do not type. a small typo would make it fail.)
- if in doubt, try both with and without the dot, and
MX Record
- On Microsoft page, click on the MX to view detail settings.
- On SXL page, find the existing MX record on, and delete it.
- click the green MX buttom on the top to add a new MX record.
- IMPORTANT!! most people did it wrong here
- leave the Hostname blank. (do not type @ or anything)
- on the Mailserver hostname, add a dot (.) to the end of the value. This is where most people failed.
- change Priority to 0
- for TTL, Microsoft recommends 1 hours, which is equal to 3600 seconds. so we input 3600.
- click Save
TXT/SPF Record
- Delete the existing TXT record and then click the green “SPF” button (it is called SPF on our server).
- Input the records as shown in this picture
- please note. no dot at the end of the value
CNAME Record
- Input the records as shown in this picture
- Don'f forget the add a dot the the end of value.
Other records
- Normally, the above is enought for Microsoft 365 to pass verification. If you have other records to add, just remember one simple rule.
- For A and CNAME record type, if the target value is a fully qualified domain name (such as something.example.com. or a.b.c.d.), you must add a dot (.) at the end.