Server 2012 : setup DNS SRV for Exchange autodiscover

When this is usefull

When your email-address is made up of your name or similar plus @test.dmz and your mailserver belongs to a different domain like maildomain.org

This name@nulltest.dmz is your Universal Principal Name (UPN), which many uses as login for Exchange servers – among other things.

In this post I’m setting up an autodiscover SRV record on the DNS for the domain test.dmz to go to maildomain.org when looking for autodiscover information.

Creating new record

Open you DNS Manager (dnsmgmt.msc), right-click your relevant Forward Lookup Zone and select Other New Records…

01-DNS_srv

Scroll down, select Service Location (SRV) and click Create Record…
02-DNS_srv

Type in the necessary information.
Notice how the Service and Protocol does not end with a . as they are added automatically afterwards.
Priority and Weight are default at 0, but that makes it really hard to control them with multiple records.

Service: _autodiscover
Protocol: _tcp
Priority/weight: 10
Port number: 80

The Host Offering this service is the target domain name which your Exchange server is responding to Autodiscovery.

Click OK when done.
03-DNS_srv

Verify the creation of your new SRV record
04-DNS_srv

Verify SRV record works
Open a prompt and type nslookup then set type=serv and finally Query on the SRV record we just created: _autodiscover._tcp.test.dmz
Note: you are looking for the _autodiscover record on the test.dmz domain, which will show you the svr hostname = maildomain.org

05-DNS_srv

Posted in DNS, Exchange 2010, Exchange 2013, Server 2012, Setup Tagged with:

Leave a Reply