In March 2022, Microsoft set up Outbound SMTP DANE with DNSSEC automatically. You didn't have to do anything for that yourself.
Inbound mail traffic (receiving e-mails), however, was a different story: there, it took until 2024 before Microsoft also made this functionality available.
In this article, we will explain step by step how to set up Inbound SMTP DANE and DNSSEC within Exchange Online.
Microsoft offers this extra security for free to all Microsoft 365 users. For Outbound DANE, you don't have to do anything, but Inbound DANE you have to activate yourself.
STEPS: Configuring inbound SMTP DANE and DNSSEC in Exchange Online
1. Make sure your domain is DNSSEC-enabled
Is your domain not signed? Enable DNSSEC at your registrar. Does your registrar not support it? Then it is wise to move your domain to a party that does.
2. Lower the TTL of your existing MX record
Note: Wait for the old TTL to fully expire before proceeding.
3. Connect to Exchange Online PowerShell
4. Activate DNSSEC for your domain
5. Add a new MX record
6. Check the new MX record
7. Delete the old MX record
8. Adjust the priority of your new MX record
9. Check DNSSEC validation
Important: Wait 15-30 minutes for the TLSA records to fully disperse.
11. Check DANE validation (including DNSSEC)
Note: Microsoft hosts multiple TLSA records for better reliability. If at least one TLSA record validates, your configuration is correct.
Conclusion
With these steps, you will better secure incoming e-mail traffic in Exchange Online against spoofing and downgrade attacks. And the best part: it costs you nothing extra. Every organisation that is serious about e-mail security should take this step. Especially now that even with Microsoft 365 you are no longer dependent on just basic settings.
Want to know if your e-mail domain is really set up properly? Then do the check via internet.nl/test-mail.
If you set up SPF, DKIM, DMARC, DNSSEC and DANE perfectly, you will achieve 100% and receive a place in internet.nl's Hall of Fame. A great recognition for your e-mail security and an important step towards a stronger digital foundation.
Source:
Based on the guide from alitajran.com: Inbound SMTP DANE and DNSSEC Exchange Online.
<cybersecurity consultant>