{"id":499,"date":"2016-12-28T17:05:18","date_gmt":"2016-12-28T22:05:18","guid":{"rendered":"http:\/\/www.amixa.com\/blog\/?p=499"},"modified":"2016-12-28T19:07:53","modified_gmt":"2016-12-29T00:07:53","slug":"proper-dns-configuration-for-iphone-and-exchange-autodiscover","status":"publish","type":"post","link":"https:\/\/www.amixa.com\/blog\/2016\/12\/28\/proper-dns-configuration-for-iphone-and-exchange-autodiscover\/","title":{"rendered":"Proper DNS configuration for iPhone and Exchange Autodiscover"},"content":{"rendered":"<p>In order to get Autodiscover to work properly on your iPhone when doing an &#8220;Exchange&#8221; setup, you need the correct DNS records.<\/p>\n<p>**note: I am assuming you already have a proper SSL cert on your email server, have the correct ports opened (80, 443m 587) and you KNOW your email server is working properly.\u00a0 You&#8217;ll also need a standard MX record that points at your server.<\/p>\n<p>&nbsp;<\/p>\n<p>Additional DNS records needed to make autodiscover work on an iPhone:<\/p>\n<p><strong>Create an SRV record with the following settings (on each domain you want autodiscover to work)<\/strong><\/p>\n<p>Service:\u00a0 _autodiscover<\/p>\n<p>Protocol: _tcp<\/p>\n<p>domain: your domain (this should be prefilled under windows server when setting up the SRV record)<\/p>\n<p>Priority: 0<\/p>\n<p>Weight: 5<\/p>\n<p>Port: 443<\/p>\n<p>Target:\u00a0 the mx record name for your server, for example, mail.yourdomain.com\u00a0 (this MUST match the MX record name)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>One more record needed:<\/strong><\/p>\n<p>Create an A record called autodiscover and point it to the same IP as your MX record IP address.<\/p>\n<p>&nbsp;<\/p>\n<p>** at this point you are at the mercy of the public DNS servers expiring their cache and catching the new records.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>iPhone Setup<\/strong><\/p>\n<p>on your iPhone, add email account, pick Exchange<\/p>\n<p>type in the email address and password.\u00a0 description (whatever you want here)<\/p>\n<p>hit Next<\/p>\n<p>At this point, one of two things may happen:<\/p>\n<ol>\n<li>you may get a server warning message.\u00a0 if you do, click CONTINUE\n<ol>\n<li>when you do that you (should) go right to the &#8220;Exchange&#8221; screen in #2 below.<\/li>\n<\/ol>\n<\/li>\n<li>you may go directly to the &#8220;Exchange&#8221; screen with radio boxes for mail, contacts etc.<\/li>\n<\/ol>\n<p>If you get the dreaded &#8220;server name&#8221; screen instead, this means your phone is not picking up the most current DNS settings.<\/p>\n<p>Try it again later&#8230;<\/p>\n<p>These settings have been tested and confirmed, so it does work &#8211; but like I said you have to wait for the DNS settings to get updated by whatever DNS server you are using.\u00a0 If you have your TTL set very high (hours or a day) you may have to wait a day for this to work.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>TEST YOUR AUTODISCOVER SETUP:<\/strong><\/p>\n<p><a href=\"https:\/\/testconnectivity.microsoft.com\" target=\"_blank\">https:\/\/testconnectivity.microsoft.com<\/a><\/p>\n<p>go to the above URL and run the &#8220;Outlook Autodiscover&#8221; test.<\/p>\n<p>You&#8217;ll need to enter in an actual mailbox account username and password, but it will fully test your setup and verify that autodiscover is properly setup.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to get Autodiscover to work properly on your iPhone when doing an &#8220;Exchange&#8221; setup, you need the correct DNS records. **note: I am assuming you already have a proper SSL cert on your email server, have the correct ports opened (80, 443m 587) and you KNOW your email server is working properly.\u00a0 You&#8217;ll also need a standard MX<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,22],"tags":[20,18,128],"class_list":["post-499","post","type-post","status-publish","format-standard","hentry","category-random-bits","category-windows-server","tag-email","tag-email-server","tag-exchange-server"],"_links":{"self":[{"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/comments?post=499"}],"version-history":[{"count":8,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/posts\/499\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/posts\/499\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/media?parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/categories?post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amixa.com\/blog\/wp-json\/wp\/v2\/tags?post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}