Outbound DANE in Exchange Online is available for some time now and I wrote about this before in the following blogpost: DNSSEC and DANE support in Exchange server and Exchange Online.
Microsoft recently announced the public preview (!) of inbound SMTP DANE for Exchange Online and it’s fairly easy to configure.
Implementing DANE consist of two steps:
- Enabling DNSSEC in Exchange Online.
- Enabling DANE in Exchange Online.
I will show both in the following sections.
Enable DNSSEC in Exchange Online
An important prerequisite of course is that you have DNSSEC up and running. If you have, you can open an PowerShell window and connect to Exchange Online.
When connected, execute the following to command:
Enable-DnssecForVerifiedDomain -DomainName Exchangelabs.nl
The output of the command will show the (new) MX record for the domain as shown in the following screenshot:

Add the new MX record to your domain, but give it a lower priority than the existing MX record (which typically should also point to Exchange Online).
Important: If you have configured MTA-STS for your inbound mail in Exchange Online, DO NOT FORGET to change the MTA-STS policy to reflect the new MX record!
Use the Remote Connectivity Analyzer (https://testconnectivity.microsoft.com/tests/O365InboundSmtp/input) to check the MX records and if all is working correctly.
In the following screenshot you can see both MX records and all is green:

You can now lower the priority of the new MX record to ’10’ and delete the old MX record.
Enabling DANE in Exchange Online
The second step is to actually enable DANE for inbound message. To do this, execute the following command in Exchange Online PowerShell:
Enable-SmtpDaneInbound -DomainName Exchangelabs.nl
Not much output as can be seen in the following screenshot:

It takes approximately 15 to 30 minutes for the TLSA record to propagate. After this time, you can use the Remote Connectivity Analyzer on https://testconnectivity.microsoft.com/tests/O365DaneValidation/input (or any other tool like https://www.huque.com/bin/danecheck-smtp
) to check as shown in the following screenshot:

DNSSEC and DANE are now ready to use.








You must be logged in to post a comment.