enerally the Exchange external Autodiscover DNS entity is configured as a regular A record. Sometimes a service record (SRV) is used instead. Since I have the habit of forgetting the syntax of quickly querying for the SRV record, this is one of those shared bookmark posts!
Nslookup is the tool of choice here! Its documentation can be found on TechNet.
There are two ways to run nslookup – interactive and noninteractive. Noninteractive is good when you know that you only want to query a single piece of data. Let’s take a peek at an example of each. We will check for the _autodiscover SRV record in the Tailspintoys.ca domain. The record points to a host called autod.tailspintoys.ca. The full format of this record is:
Nslookup – Noninteractive
Open a cmd prompt and run
nslookup -q=srv _autodiscover._tcp.tailspintoys.ca
You should see the below output. Note that the svr hostname will be the Autodiscover target.
In this example we launched Nslookup in noninteractive mode. The query type is set to SRV and then we checked for the_autodiscover._tcp.tailspintoys.ca record.
Nslookup – Interactive
Open a cmd prompt and run:
In this example we launched Nslookup in interactive mode, so we can interact with it. The query type is set to SRV and then we checked for the _autodiscover._tcp.tailspintoys.ca record.
Host/dig lookup – Interactive on linux
host -t SRV _http._tcp.www.cadena-hrmseries.com
dig +short -t SRV _autodiscover._tcp.cadena-hrmseries.com
dig -t SRV _autodiscover._tcp.cadena-hrmseries.com
Reference – Autodiscover Exchange SRV Record Configuration
For reference purposes, the steps to add an Autodiscover SRV record will be something like the below. They are intended to be general so please follow any specific notes or items for the DNS registrar you are using!
In your DNS zone editor add a SRV record with the following information:
Name Enter one of the following values:
@if your registered domain is your cloud-based domain. For example, if your registered domain is contoso.com and your cloud-based domain is contoso.com, enter
Enter the subdomain name if your cloud-based domain is a subdomain of your registered domain. For example, if your registered domain is contoso.com, but your cloud-based domain is the subdomain test.contoso.com, enter
10 (or as per your design)
Weight 10 (or as per your design)
server.contoso.com (in the example above this was autod.tailspintoys.ca)
TTL Verify that an appropriate TTL is selected, 1 hour is a common default. (If you are approaching a migration, this should be decremented to allow for quicker cutover)
In addition to the SRV record pointing us to the correct location, we also have to ensure that there is a valid certificate installed which is published to the Internet. This could be something as simple as a NAT rule with the appropriate firewall rule for TCP 443 or it could involve TMG or a load balancer’s APM.
The choice as they say – is yours!!