The domain I use with Office 365 is williamrice.net. The administrative panel tells me to add these records to my domain's DNS zone file:
There's just one problem with that. My registrar, where I create these records, doesn't give me a user interface that has fields like Service, Protocol, Port, Weight, and Priority. My registrar assumes that if I'm modifying SRV records, I know what I'm doing. So they don't give me an easy, fill-in-the-blank interface for entering the SRV record. Fortunately, they do give me great technical support.
I sent my registrar the screenshot above, and they sent me the following lines to add to my zone file:
_sipfederationtls._tcp 3600 IN SRV 1 100 5061 sipfed.online.lync.com.
sip 3600 IN CNAME sipdir.online.lync.com.
lyncdiscover 3600 IN CNAME webdir.online.lync.com.
Let me point out a few things about those lines. In the first line, notice that the Service and Protocol have been joined together, with a period between them. In each line, the TTL (Time To Live) setting of 1 Hour is written as 3600. And, each line ends with a period.
Let's translate the information that Microsoft gave me for the SRV record, into the line that my registrar gave me. Then you can make the same translation for your SRV record:
- The record begins with the Service, _sipfederationtls.
- Then, type a period (.).
- Add the Protocol, _tcp.
- Type a space.
- Then the TTL, but instead of hours it is expressed in seconds, 3600.
- Type a space.
- Add IN.
- Type a space.
- Add the Type, SRV.
- Type a space.
- Add the Weight, 1.
- Type a space.
- Add the Priority, 100.
- Type a space.
- Add the Port, 5061.
- Type a space.
- Add the Target, sipfed.online.lync.com.
- Type a period (.).
You're done. That's the line that you want to add for the SRV record, to enable Lync to work with your domain. Also, add the two CNAME records. Their format is much easier, and, your registrar probably has a fill-in-the-blank interface for adding CNAME records.
Remember to leave a comment if this is helpful (or not). I hope that Office 365 and Lync work as well for you as they have for me.