I've seen quite a few people asking for help with this, and struggled a little bit when I first set this up myself, so I thought I would post the DNS entries that are required to get Lync Online working.
These are generic DNS records, so it doesn't matter what server / service you have.
Now, first off you will need to get yourself a relatively advanced DNS Management Service. I personally use the most excellent Zone Edit (www.zoneedit.com). This is completely free and allows you a very high level of control over what records you can create. I have found with some of the other DNS management sites that sometimes you cannot create some of the required records (such as SRV records).
DNS Records described by Office 365 Portal
There is 1 SRV record and 2 CNAME records that you need to create.
You can find these in your Office 365 Portal under "Domains" and "verify DNS Settings". Below is the screenshot from my own Portal Site for my domain "hatchsolutions.co.uk".
The thing to note is that it gives you the full host-name entry for each of the records you need to create. When you actually create these (depending on your DNS management tool) you will probably only need the prefix for the host name.
So the three records you need to create are:
- _sipfederationtls
- Type: SRV
- Port: 5061
- Weight: 1
- Priority: 100
- TTL: 3600 (seconds)
- Target: sipfed.online.lync.com
- sip
- Type: CNAME
- TTL: 3600 (seconds)
- Host-Name: sipdir.online.lync.com
- lyncdiscover
- Type: CNAME
- TTL: 3600 (seconds)
- Host-Name: webdir.online.lync.com
But ... that's not all ...
I also found in my environment that one more SRV record was required, which for some reason was missing from the official instructions. I honestly can't remember where I found this (credit goes to someone wonderful person on the blogosphere somewhere) but the details are below:
- _sip._tls
- Type: SRV
- Port: 443
- Weight: 1
- Priority: 100
- TTL: 3600 (seconds)
- Target: sipdir.online.lync.com
