Configure Microsoft 365 DKIM and DMARC in Bluehost DNS
Question details
Configure DKIM and DMARC for a custom domain whose DNS is hosted by Bluehost and whose email is hosted by Microsoft 365.

- Product
- Microsoft 365 and Bluehost DNS
- Device & OS
- not provided
- Scenario
- A custom domain uses Bluehost for DNS and Microsoft 365 for email.
- Observed behavior
- The goal is to publish Microsoft 365 DKIM records and a DMARC policy for the custom email domain.
Confirm that Bluehost hosts the domain's active DNS zone and that you can edit its records. You will also need permission to manage the domain in Microsoft 365 and configure email authentication in the Microsoft Defender portal.
Publish DKIM and DMARC records for the custom domain
Use this method when Bluehost manages DNS and Microsoft 365 hosts email for your custom domain.
In the Microsoft 365 admin center, go to Settings > Domains. Add your custom domain, such as contoso.com, if it is not already listed, and follow the verification instructions. Add the verification record in Bluehost if prompted.
In the Microsoft Defender portal, open Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM. Select your custom domain and, if prompted, create DKIM keys. Copy the two CNAME names and targets shown by Microsoft 365.
In Bluehost, open your domain's DNS management page and add the two CNAME records using the names and targets supplied by Microsoft 365. The names commonly begin with selector1._domainkey and selector2._domainkey. Follow Bluehost's host-name format to avoid adding the domain name twice.
After the new DNS records are available, return to the custom domain's DKIM settings in the Microsoft Defender portal and enable DKIM signing. If Microsoft 365 cannot find the records, check the CNAME names and targets and try again after DNS propagation.
In Bluehost DNS management, add a TXT record with the host name _dmarc and the value v=DMARC1; p=none. This starts DMARC in monitoring mode. If a DMARC record already exists, review or update it instead of adding a second one.

Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative for creating and editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files, though it does not configure Microsoft 365 email or DNS records.

Frequently Asked Questions
Should I configure DKIM for my custom domain or onmicrosoft.com?
For email sent from your custom address, configure DKIM for the custom domain, such as contoso.com. Use the onmicrosoft.com domain only if you specifically need to configure it.
Where can I find the Microsoft 365 DKIM CNAME values?
In the Microsoft Defender portal, go to Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM. Select your custom domain and create keys if prompted to see its CNAME records.
Why can't Microsoft 365 find my DKIM records?
Check that both CNAME records are in the active Bluehost DNS zone and match the names and targets shown in Microsoft Defender. Make sure Bluehost has not appended the domain name twice, then allow time for DNS changes to propagate.
What does a DMARC policy of p=none do?
It puts DMARC in monitoring mode rather than requesting that receiving servers quarantine or reject messages that fail DMARC. You can review your authentication setup before considering a stricter policy.
Do I need SPF as well as DKIM and DMARC?
SPF is another email authentication method. DMARC can pass when either SPF or DKIM passes and aligns with the visible From domain. Check your existing SPF TXT record in Bluehost DNS and avoid creating a second SPF record.




