Windows Messenger Autoconfiguration with LCS and domain names SRV queries

Interesting customer issue reported in that they could connect using TLS when providing the FQDN but when using Autoconfiguration it failed to connect. Normally when a customer tells us this we know that it is NOT a certificate issue, otherwise TLS would fail when using the FQDN. We can suspect that we have incorrect SRV records or possibly the Group Policy to AllowAdditionalDNSNames has not been enabled. This policy allows the client to accept a certificate for any name greater than the DNS query we made.

It is that last statement that is key to this particular issue. First let me give two examples of what this means. If my sip-uri is my DNS SRV query will be The Group Policy is overriding the client's normal behavior of expecting a returned host and certificate for Essentially despite our query the client is still expecting that all queries and responses will result in directing us to a host identifying itself as With the group policy in place my client will accept or even In short we will ignore any data or value that is returned in excess of what we queried for. So anything more than we will accept but not less.

Two examples, the first showing a success like we discussed and the second showing a failure:

Case#1 -
DNS SRV query is
Returned result must contain and in fact is:
The returned result is "greater/longer" than the queried domain suffix

DNS SRV query is
Returned result must contain and we fail to get that but instead Note that while both share they differ in what we would consider the "base" domain name of essentially another domain name.

The workarounds for customers in this configuration can range and I offer what I belive are the least impacting or easiest to implement to the most impacting.

  1. Push the server name and protocol information to the clients. This allows you to bypassing the use of autoconfiguration as a feature but achieve the functionality in which your end users do not need to know the server name.
  2. Document the manual settings used in Windows Messenger to connect. This puts the burden on your end user and requires that you have an infrastructure to document this type of data. This could be the data given to new hires, an email, public folder, website, etc.
  3. Change the domain portion of your sip-uri to eliminate the different child domain problem. As an example instead of using and use only one of these or collapse it to What you really want to do is to make sure that you strongly consider using the same SIP-URI and Email alias. With the new Federation functionality coming in LCS 2005 SP1 (you will have to pay for the public cloud connectivity with AOL/MSN/YAHOO), having the same alias will make it easier for individuals to communicate regardless of the application.
  4. Change your DNS heirarchy. I really would not suggest this unless you are in the beginning phases of a new rollout as you will most likely have to alter your Active Directory structure. This is really a high time and effort approach that will likely have few customers pursue as they likely invested much time in their infrastructure planning already.

Well I hope this was helpful, sorry I don't have logs for this but I believe they won't provide as much information as it is the traced logging with source code that gives details, and we can't post that info.

TomL LCS Kid

I realize this might be confusing so I hope that I have done a good job of explaining the expected behavior and also what may fail.