Configure Linux bind9 DNS with Office365 (DKIM and DMARC also)
Why this documentation ? : It's more a note than anything, since I couldn't find any clear documentation on the matter, knowing that I will need to redo it at some points, notes are of importance, moreover if it can help others...
- a Microsoft Office 365 Business Premium or Business Essentials account (Trial or Pro) with full admin rights
- a Linux server with root rights
- a domain name that you own
- Few infos and Screenshots of What you should have access to Verify you have what it takes
- Setup office 365 with a personnal owned domain name
- Setup Mail Account with our new binded domain
- Setup Linux DNS record DKIM (Domain Key Identified Mail) for Office 365
- Setup Linux DNS record DMARC ( Domain-based Message Authentication, Reporting and Conformance ) for Office 365
- Setup DKIM for office 0365 : https://technet.microsoft.com/en-gb/library/mt695945(v=exchg.150).aspx
- tuto to setup O365 : https://blog.kaniski.eu/2014/07/office-365-and-bind/
- DKIM Validator : http://dkimvalidator.com/results
- Setup SPF to prevent spoofing : https://technet.microsoft.com/en-us/library/dn789058(v=exchg.150).aspx
- Google flush cache : https://developers.google.com/speed/public-dns/cache
- add domain to O365 : https://technet.microsoft.com/en-us/library/office-365-domains.aspx
- new domains O365 : https://support.office.com/en-us/article/Add-a-domain-and-users-to-Office-365-6383f56d-3d09-4dcb-9b41-b5f5a5efd611?ui=en-US&rs=en-US&ad=US
- setup DMARC : https://technet.microsoft.com/en-us/library/mt734386(v=exchg.150).aspx
- DMARC explanation : https://blog.returnpath.com/how-to-explain-dmarc-in-plain-english/
- DMARC organization : https://dmarc.org/overview/
- scatter : http://www.backscatterer.org/index.php
- spammer : http://www.uceprotect.net/en/rblcheck.php