How do I set up the DNS records needed for Office365?


For your domain name to work with Office365, you need to add certain DNS records, such as CNAME, SRV, and TXT.

To add CNAME records:

  1. Log into your Domain Control Panel
  2. Click ‘DNS Management’
  3. Go to ‘Create New A/AAAA/CNAME Records’
  4. Add subdomain:

sip

  1. Add address:

sipdir.online.lync.com.

  1. Add subdomain:

webdir

  1. Add address:

webdir.online.lync.com.

  1. Click ‘Update DNS’
  2. The CNAME records will be added

Be certain to include the terminating full stop in the address box, or the record will be invalid.

You may also need to create SRV records:

  1. Go to ‘SRV Records’
  2. Select ‘SIP’ from the drop-down as the Service
  3. Select ‘TLS’ from the drop-down as the Protocol (Proto)
  4. Enter sipdir.online.lync.com. as the Server
  5. Enter 443 as the Port
  6. Enter 100 as the Priority (Pri)
  7. Enter 1 as the Weight (Wei)
  8. Select ‘Enter Your Own’ from the drop-down as the Service
  9. Enter sipfederationtls in Service
  10. Select ‘TCP’ from the drop-down as the Protocol (Proto)
  11. Enter sipfed.online.lync.com. as the Server
  12. Enter 5061 as the Port
  13. Enter 100 as the Priority (Pri)
  14. Enter 1 as the Weight (Wei)
  15. Click ‘Update DNS’
  16. The SRV records will be updated

Be certain to include the terminating full stop in the address box, or the record will be invalid.

You may also be asked to set up a TXT record for your domain name.  This is only used to verify that you own your domain.

The Office365 ‘Add A Domain’ Wizard will provide you with the values that you need to create this record. They will look like the following:

Alias or Host Name = @
Destination or Points to address = MS=ms000000001
TTL = 1 Hour

To add the TXT record to your domain name:

  1. Log into your Domain Control Panel
  2. Click ‘DNS Management’
  3. Scroll down to TXT Records
  4. Leave the ‘Subdomain’ field empty
  5. In the ‘Text’ field, enter in the Destination provided by Office365 (for example, MS=ms00000001)
  6. Click ‘Update DNS’
  7. The TXT record will be generated

As a note, where we have ‘Subdomain’ is often where other hosting companies will have ‘Alias or Host Name’. Some companies will expect an ‘@’ to mark a blank space, but we simply use the blank space.

Please wait approximately 24 hours for the DNS changes to propagate across the Internet.



Article ID: 215
Created On: Tue, Mar 10, 2015 at 5:18 PM
Last Updated On: Thu, Apr 23, 2015 at 11:20 AM

Online URL: https://www.heartinternet.uk/support/article/how-do-i-set-up-the-dns-records-needed-for-office365.html