Link to home
Start Free TrialLog in
Avatar of jjoz
jjozFlag for Australia

asked on

What is the DNS and IIS prerequisite for Outlook Anywhere 2007 ?

Hi,

I just would like some clarification about which External hostname / DNS entries
that I need to publish in my external facing DNS server to enable Outlook Anywhere on my Exchange Server 2007 for external user:

1. ExCAS01.domain.com - Exchange CAS A Record
2. Autodiscover.domain.com - Autodiscover CNAME to the CAS Server above
3. _autodiscover._tcp.domain.com - SRV type record

and do I have to expect anything by typing this address in bowser "https://autodiscover.domain.com/AutoDiscover/AutoDiscover.xml" ?
because i get request time out at the moment.

here are the error log from https://testexchangeconnectivity.com [in the box].


Host Excas01.domain.com couldn't be resolved in DNS Exception details:
	Message: The requested name is valid, but no data of the requested type was found
	Type: System.Net.Sockets.SocketException
	Stack trace:
	at System.Net.Dns.GetAddrInfo(String name)
	at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
	at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
	at Microsoft.Exchange.Tools.ExRca.Tests.ResolveHostTest.PerformTestReally()

	Host autodiscover.domain.com couldn't be resolved in DNS Exception details:
	Message: The requested name is valid, but no data of the requested type was found
	Type: System.Net.Sockets.SocketException
	Stack trace:
	at System.Net.Dns.GetAddrInfo(String name)
	at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
	at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
	at Microsoft.Exchange.Tools.ExRca.Tests.ResolveHostTest.PerformTestReally()

	Attempting to locate SRV record _autodiscover._tcp.domain.com in DNS.
		The Autodiscover SRV record wasn't found in DNS.

Open in new window

Avatar of Hendrik Wiese
Hendrik Wiese
Flag of South Africa image

You will need to have an MX Record setup at your service provider.
Go to https://www.testexchangeconnectivity.com and let me know if you get any errors?
I don't think you need to go to that trouble. It clearly seems to be a problem with your certificate. Have you added autodiscover.yourdomain.com to your certificate and installed it ?

when adding the A record to point to the (subdomain) autodiscover.domain.com, Outlook could not verify the domain name because it was not included in the cert

A work around for single domain certs is to create a SRV recordand have it point to exchange.domain.com on port 443.  This resolved the issue, when connecting internally and helped resolve OWA site not being up.  

For reference:
https://www.experts-exchange.com/questions/26616022/Autodiscover.html

Best Of Luck.
ASKER CERTIFIED SOLUTION
Avatar of Hilal1924
Hilal1924
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Hendrik: MX records have got nothing to do with AutoDiscover service in MS Exchange.
Here is another great article whic illustrates how to enable and properly configure AutoDiscover service.

http://www.msexchange.org/tutorials/Uncovering-New-Outlook-2007-Discover-Service.html
Sorry my bad, cross posting confusion.
SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jjoz

ASKER

@Hendrik: of course my MX has been set already, I'm now using it for my OWA and ActiveSync for iPhone and several WinMo as well.

the error message was from the result of remote analyzer -  https://www.testexchangeconnectivity.com website.
the error you got is because you have no autodiscover record which is not the same as having Outlook anywhere
Avatar of jjoz

ASKER

@Hilal: "Have you added autodiscover.yourdomain.com to your certificate and installed it ?" yes I have added it to the SAN and it was working for internal, I guess I must create one entry for my external DNS and then test it from my home internet to check if I can reach / read the XML from the Autodiscover URL.
Avatar of jjoz

ASKER

@Akhater: many thanks for your clarification so I'll try to create the following records to match whatever I've got in my SAN certificate:

1. ExCAS01.domain.com - Exchange CAS A Record
2. Autodiscover.domain.com - Autodiscover CNAME to the CAS Server above
3. _autodiscover._tcp.domain.com - SRV type record

only number two (Autodiscover.domain.com) that is listed in my SAN certificate, do I need to create SAN entry for my ExCAS01.domain.com as well ?
it is better to have your CAS server name in your SAN it makes the config easier I think there is something missing


do you have any external DNS record that is mapped (443) to your CAS server ?
Avatar of jjoz

ASKER

it seems that i can only ping my ActiveSync.domain.com and the ExHub01.domain.com which is in the certificate, the rest is not ping able.
are you talking from inside ? what I am concerned with in your external DNS configuration

how do you use owa from outside?
Avatar of jjoz

ASKER

no, the OWA is only for inside only but not outside enabled, only activesync that is working both.

no I ping it from my home now for those two addresses (ActiveSync and the ExHub01) i can only get the external IP address but not the ping reply. (not even request timed out).
ok so if i get it correct you have in your external records

ActiveSync.domain.com pointing to the a real IP mapped to your CAS server
ExHub01.domain.com pointitn to the same real ip as active sync ??


It is normal not be able to ping from outside your firelwall will not allow it
Avatar of jjoz

ASKER

yes for the ActiveSync as it is the CAS server, but in this case do i must create another record with the exact server name as above ?

ActiveSync.domain.com - A Record - Public IP - Yes already done
ExcCAS01.domain.com - A Record - Public IP (same as above) - not yet
Autodiscover.domain.com - A Record - Public IP (same as above) - not yet
_autodiscover._tcp.domain.com - SRV type record to port 443 as above IP - should I ?
Wow no there is no need to create excCAS01 nor the srv just create the autodisciver.... However there is still a lot of config to get outlook anywhere working
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial