A new feature is available that enables Outlook 2007 to use DNS Service Location (SRV) records to locate the Exchange Autodiscover service
This feature is also available in Outlook 2010.
Update InformationA supported feature that modifies the default behavior of the product is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if you are not severely affected by the lack of this feature, we recommend that you wait for the next Outlook 2007 service pack that contains this feature.
To obtain this feature immediately, download the feature by following the instructions later in this article or contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
This feature is available as part of the following update rollup for Outlook 2007:
BackgroundWhen Outlook 2007 is not domain-joined, you have to use a predefined URL method or an HTTP redirect method in order to locate the Autodiscover service. The following list contains two predefined URL methods and one HTTP redirect method:
Note The HTTP redirect method can be difficult to implement because it requires the following in order to work correctly:
- An additional Web site in IIS
- Two Public IP addresses
By using the software update that is described in this article, Outlook 2007 will perform an additional check for a DNS SRV record in order to locate the Autodiscover service. This additional check does not require complex configuration or a valid certificate for the Autodiscover service.
How to use the new DNS SRV lookup method to locate the Exchange 2007 Autodiscover serviceTo use the new DNS SRV lookup method in order to locate the Exchange 2007 Autodiscover service, follow these steps.
Note You must create the Autodiscover SRV record in the external DNS zone that matches the right side of your user's SMTP addresses. For example, if a user's primary SMTP address is firstname.lastname@example.org, the record must be created in the contoso.com external DNS zone. If you have multiple primary SMTP address domains in your organization, you must create an Autodiscover SRV record in each zone.
- In your external DNS zone, remove any HOST (A) or CNAME records for the Autodiscover service.
- Use the following parameters to create a new SRV record:
Service: _autodiscoverProtocol: _tcpPort Number: 443Host: mail.contoso.comNote For more information about how to create this record, see the "About SRV records" section.
In this example, the Autodiscover service does the following when the client tries to contact the Autodiscover service:
- Autodiscover posts to https://contoso.com/Autodiscover/Autodiscover.xml. This fails.
- Autodiscover posts to https://autodiscover.contoso.com/Autodiscover/Autodiscover.xml. This fails.
- Autodiscover performs the following redirect check: GET http://autodiscover.contoso.com/Autodiscover/Autodiscover.xmlThis fails.
- Autodiscover uses DNS SRV lookup for _autodiscover._tcp.contoso.com, and then "mail.contoso.com" is returned.
- Outlook asks permission from the user to continue with Autodiscover to post to https://mail.contoso.com/autodiscover/autodiscover.xml.
- Autodiscover's POST request is successfully posted to https://mail.contoso.com/autodiscover/autodiscover.xml.
About SRV recordsIf you are using Windows DNS, the steps to create an SRV Record are as follows:
- Open the DNS Management MMC snap-in.
- Expand Forward Lookup Zones.
- Locate and right-click the external DNS zone, and then click Other New Records.
- Click Service Location (SRV).
- Enter the parameters by using the required values.
- Click OK.
Article ID: 940881 - Last Review: 05/13/2010 05:58:39 - Revision: 3.0
- kbinfo kbhowto kbexpertisebeginner KB940881