SOLVED AutoDiscover & AutoConfig

a.rayman

Member
Dec 7, 2016
9
2
3
United Kingdom
cPanel Access Level
Root Administrator
My cPanel server does not use DNS, all my clients use their own DNS service (e.g. CloudFlare or their domain name providers).

A client wants to use autodiscover and autoconfig - what records do they need to use in their DNS?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

I recommend configuring the service based on your preferences after reviewing the documentation at:

AutoConfig and Autodiscover - cPanel Knowledge Base - cPanel Documentation

Even though DNS is disabled on the cPanel server, the DNS records are still created within the DNS zone for purposes like this. Once you've enabled AutoConfig/Autodiscover, review the DNS zone to see which entries were added:

"WHM >> DNS Functions >> Edit DNS Zone"

For example:

Code:
autoconfig IN A 1.2.3.4
autodiscover IN A 1.2.3.4
_autodiscover._tcp IN SRV 0 0 443 cpanelemaildiscovery.cpanel.net.
_caldav._tcp IN SRV 0 0 2079 $hostname.
_caldavs._tcp IN SRV 0 0 2080 $hostname.
_carddav._tcp IN SRV 0 0 2079 $hostname.
_carddavs._tcp IN SRV 0 0 2080 $hostname.
_caldav._tcp IN TXT path=/
_caldavs._tcp IN TXT path=/
_carddav._tcp IN TXT path=/
_carddavs._tcp IN TXT path=/
Thank you.
 

EneTar

Well-Known Member
Dec 19, 2015
159
12
68
Greece
cPanel Access Level
Root Administrator
Hello,

I recommend configuring the service based on your preferences after reviewing the documentation at:

AutoConfig and Autodiscover - cPanel Knowledge Base - cPanel Documentation

Even though DNS is disabled on the cPanel server, the DNS records are still created within the DNS zone for purposes like this. Once you've enabled AutoConfig/Autodiscover, review the DNS zone to see which entries were added:

"WHM >> DNS Functions >> Edit DNS Zone"

For example:

Code:
autoconfig IN A 1.2.3.4
autodiscover IN A 1.2.3.4
_autodiscover._tcp IN SRV 0 0 443 cpanelemaildiscovery.cpanel.net.
_caldav._tcp IN SRV 0 0 2079 $hostname.
_caldavs._tcp IN SRV 0 0 2080 $hostname.
_carddav._tcp IN SRV 0 0 2079 $hostname.
_carddavs._tcp IN SRV 0 0 2080 $hostname.
_caldav._tcp IN TXT path=/
_caldavs._tcp IN TXT path=/
_carddav._tcp IN TXT path=/
_carddavs._tcp IN TXT path=/
Thank you.
I have the same question and I wanted to ask if it is enough to add on Cloudflare DNS the
Code:
autoconfig IN A 1.2.3.4
autodiscover IN A 1.2.3.4
and keep the rest of the entries at the cpanel server or is it needed to add all of them, including the _* entries at the Cloudflare DNS even though they exist in the cpanel server?