This article lists the DNS records required for Office 365 as configured via the DDNS hosting control panel.

Authorization

To validate a domain for use on Office 365 the client has to create one of the following DNS records;

  1. MX record (priority 50) with the exchange as ms45898975.msv1.invalid, where ms45898975 is their MS ID and will be unique to their account.

  2. TXT record with answer as their MS ID e.g. MS=ms45898975. The first box, on the domain line should be left blank.


Records Required For Email Operation, Auto Discovery & Spam Filtering (SPF)

The following records need to be created in your DNS control panel, see the article here for help accessing the DNS control panel.  Be sure to replace <domain.tld> with your domain name e.g. example.com.au when creating the records below;

  • MX record = example-com-au.mail.eo.outlook.com where example-com-au is the domain with dashes replacing the full stops.

  • CNAME = autodiscover -> autodiscover.outlook.com authdiscover goes in the first box and the bit after -> goes in the 'Canonical name' filed in plesk.

  • CNAME = sip.<domain.tld> -> sipdir.online.lync.com

  • CNAME = lyncdiscover.<domain.tld> -> webdir.online.lync.com

  • TXT = v=spf1 include:outlook.com ~all

Type Service Protocol Port Weight Priority Target domain

SRV _sip _tls 443 1 100 sipdir.online.lync.com <domain.tld>

SRV _sipfederationtls _tcp 5061 1 100 sipfed.online.lync.com <domain.tld>

Notes:

Do not edit or remove the 4 names server (NS) record types listed in the DNS settings, these are required for proper operation of your DNS.

If you use the details above you do not need to delegate your domain name to the name servers supplied for Office 365. Updating the name servers will likely break your website, assuming you have one.

Advanced - How To Configure Office 365 To Run As Part Of A Hybrid Domain With Pop And Exchange Mail Boxes

Use this method to run a mixture of Hosted Exchange Office 365 mail boxes with standard pop or imap mail boxes hosted by DDNS.  This is handy where not all staff members require advanced features like shared contacts and clendars.  If you plan on running all mail accounts via Office 365 this section can be ignored.

  1. Login to Office 365.

  2. Click Admin at the top.

  3. Under Outlook, click General Settings. This will take you to Exchange Control Panel (ECP).

  4. In ECP, click Mail Control.

  5. Under Domains & Protection, double-click the domain you want to modify (e.g. contoso.com)

  6. In the pop-up window, change the Domain Type from Hosted to Shared.

  7. Click Save. This setting may require a few minutes to take effect.

Disclamer:  These settings are current at the time of writing, but Microsoft may change its setup procedure with out notice.  If you find something that has changed please let us know and we will update the article support@ddns.com.au