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 firstname.lastname@example.org 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…
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.
Port number: 80
The Host Offering this service is the target domain name which your Exchange server is responding to Autodiscovery.
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