Backtrack:  
 
by lunarg on January 18th 2010, at 13:30

When you are running an Exchange server, and have your users access the server from outside the company network, you usually have to open up access to OWA. This enables users to access their mail, contacts and appointments by using an internet browser. Occassionally, someone also has a ActiveSync enabled phone that they would like to use. This protocol also uses OWA for syncing data. And very rarely, there's also a guy (usually the CEO) who simply wants to use its Outlook to connect - this is possible through web as well using RPC-over-HTTP(S), but that's information for another blog post (on another day in the far far future...) .

One of the hassles when configuring this, is the fact that you have to provide your users with a lot of configuration parameters. While you can't really avoid the username and password, there is something you can do to allow auto-detection of the server dns name.

Creating an auto-discovery DNS record

The idea is to create a specially crafted CNAME to point to your real server DNS name. The software that support the Exchange auto-discovery will use this DNS record to detect and configure the server configurations of the client.

Notice
Note that you need to have access to your DNS configuration for your e-mail domain: if your e-mail domain is blackmanticore.net (i.e. your addresses end with @blackmanticore.com), you need to be able to manage that particular domain.

Also, in the code below, I use my domain name as an example. Substitute it with your own.
When using your own (private) Exchange server

Create a CNAME record, pointing to your Exchange server.

  • autodiscover.blackmanticore.net CNAME autodiscover-redirect.mail.blackmanticore.net

If the second record does not resolve, you need to create it as an A record to your Exchange server, and be sure it resolves correctly to your server (adjust IIS if necessary).

As said earlier, you need to substitute the domain name blackmanticore.net with your own e-mail domain name.

When using Microsoft Online (hosted Exchange or BPOS)

Like stated above, create a CNAME, but have it pointing to the servers of Microsoft Online.

  • autodiscover.blackmanticore.net

Use the following DNS names to point the CNAME to, depending on which region you are subscribed.

  • For North America: autodiscover-redirect.red001.mail.microsoftonline.com
  • For Europe, the Middle East, and Africa: autodiscover-redirect.red002.mail.emea.microsoftonline.com
  • For Asia and Pacific: autodiscover-redirect.red003.mail.apac.microsoftonline.com

Once again, note that you need to substitute the domain name blackmanticore.net with your own e-mail domain name.

Note that this is documented more elaborately on Microsoft Technet.

 
 
« November 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett