This article will help you set up DNS records if youâre using Microsoft for your email accounts and the domain is hosted on Cloudflare.
Weâll cover -
Adding your domain to Microsoft & SPF setup
1. Log into your Microsoft admin account.
2. On the homepage, search for âDomainsâ using the search bar.
3. Click on âAdd domainâ.
4. Enter the âDomain nameâ and click on âUse this domainâ.
5. The next step is to verify the domain. Click âVerifyâ.
6. Now, go to your Cloudflare account and check if MX record, SPF, and CNAME DNS records are available; if not, add the records for the domain as advised by Microsoft.
DKIM setup
1. Log into your Microsoft admin account.
2. On the homepage, search for âDkimâ using the search bar.
3. Click on the DKIM page shown in the results.
4. Click on the domain for which you want to configure DKIM.
5. Slide the toggle to Enable. You will see a pop-up window, click on the "Create DKIM keys" button.
6. You will get the âPublish CNAMEsâ pop up. Copy the host name and value.
7. Go to Cloudflareâ click âManageâ for the domain to update the records.
8. Click on âAdd new recordâ.
9. Enter type, host name, and value.
10. Click âSaveâ. This will take a few minutes.
11. Go back to Microsoft and enable the âSign messages for this domain with DKIM signatures.â
This completes the DKIM setup.
DMARC setup
1. You have to create a DMARC record using a DMARC record generator and then input the same to Cloudflare.
â2. Use https://easydmarc.com/tools/dmarc-record-generator to generate your DMARC record.
3. Now, go to Cloudflare.
4. Navigate to your domain's DNS management.
5. Click on âAdd recordâ to add the DMARC record.
6. Enter the following details -
Type - TXT
Name - â_dmarcâ
Value - Copy the DMARC value generated from EasyDmarc tool and paste it here
7. Click âSaveâ. The DMARC record will be created successfully.
Now that the authentication protocols are set up, you can go ahead and create email accounts on this domain.
