To set up Office365 in your DNS, Microsoft will provide you with an overview of the correct DNS data. To give you an idea of how to fill in the DNS details, you will find an overview below. You will first see the DNS data as Microsoft displays it, below that you will find the DNS data as it must be entered in Direct Admin:
Microsoft:

Direct Admin:
Microsoft:

Direct Admin:
Microsoft:

Direct Admin:
Microsoft:

Direct Admin:
In Direct Admin, pay close attention to the extra “.” in the right column. (dot) after the domain names. This indicates that the records are outside our network.