Problem setting up SRV records for Office 365

Setting up Lync for Office 365 I ran into a problem that the SRV records were not being recognized. The instructions in Office 365 are to define two SRV records for Lync. My provider is Linux based, so setting up the SRV records is a little bit tricky. Anyway the general DNS instructions of Office 365 expect every field of the SRV record to be a separate field.

The instructions for the Lync SRV record for federation are:

  • Recordtype: SRV
  • Service: _sipfederationtls
  • Protocol: _tcp
  • Poort: 5061
  • Gewicht: 1
  • Prioriteit: 100
  • TTL: 3600
  • Naam: @
  • Doel: sipdir.online.lync.com

The instructions for the Lync SRV record for web conferencing are:

  • Recordtype: SRV
  • Service: _sip
  • Protocol: _tls
  • Poort: 443
  • Gewicht: 1
  • Prioriteit: 100
  • TTL: 3600
  • Naam: @
  • Doel: sipfed.online.lync.com

As stated my provider runs on Linux and the web based DNS tool does not provide separate fields. The following fields and instructions are provided.

Fields supported by domain provider.

Fields supported by domain provider.

With the instructions at the bottom of the image I entered the information from Office 365 as follows:

The Lync SRV record for federation:

  • Priority: 100
  • A-Naam: _sip_tls
  • Text: 1 443 sipdir.online.lync.com.
  • Time-to-live (ttl): 3600

The Lync SRV record for web conferencing:

  • Priority: 100
  • A-Naam: _sipfederationtls_tcp
  • Text: 1 5061 sipfed.online.lync.com.
  • Time-to-live (ttl): 3600

When I ran the verify functionality on the Office 365 admin console it indicated that the Lync SRV-records could not be found. After some searching I found the Microsoft Remote Connectivity Analyzer.

Remote connectivity analyzer

Remote connectivity analyzer

To use the connectivity analyzer follow the next steps:

  • Select the tab Office 365.
  • Select the option Office 365 Lync Domain Name Server (DNS) Connectiviteitstest.
  • Click the Next button on the top right hand side.
  • On the next page enter an email address of the Lync domain you want to test.
  • Click on the button Execute test on the top or bottom right hand side.

On the next page it displays the expected domains _sip._tls.******.com and _sipfederationtls._tcp.******.com. As you can see the different parts of the subdomain are separated by dots (.).

So I changed the SRV records. The Lync SRV record for federation:

  • Priority: 100
  • A-Naam: _sip._tls
  • Text: 1 443 sipdir.online.lync.com.
  • Time-to-live (ttl): 3600

The Lync SRV-record for web conferencing:

  • Priority: 100
  • A-Naam: _sipfederationtls._tcp
  • Text: 1 5061 sipfed.online.lync.com.
  • Time-to-live (ttl): 3600

After these changes validation worked correctly.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s