srv record for autodiscover email

AudiAddict

Verified User
Joined
Oct 10, 2008
Messages
82
Hi! I'm trying to setup autodiscover because I'm getting annoyed by helping my users setup outlook every time.

I am using this guide: https://help.directadmin.com/item.php?id=661

but when adding the SRV record i get the following error:

Unable to save dns zone: named-checkzone returned:
loading "mydomain.nl" from "/etc/bind/mydomain.nl.db.temp.17552" class "IN"
dns_rdata_fromtext: /etc/bind/mydomain.nl.db.temp.17552:49: near 'autodiscover.mydomain.nl.': not a valid number
zone mydomain.nl/IN: loading from master file /etc/bind/mydomain.nl.db.temp.17552 failed: not a valid number
zone mydomain.nl/IN: not loaded due to errors.

I added this to the left in DA on the SRV part: _autodiscover._tcp.mydomain.nl.
and this to the right: autodiscover.mydomain.nl.

Any idea's what is going on?

I can setup outlook to work fine with hostname and smtpname to be mydomain.nl (i'm not adding the DA servername like server01.mydomain.nl). SSL certificates all work perfectly.
 
Last edited:
Hello,


The right input should have:


Code:
10 10 443 autodiscover.hostname.com.


With your numbers and names.
 
Thanks for your help. Only I can’t add this line to the da dns panel? Not doing it from shell

Can you tell me what I should be putting where?
 
Why not? It can be added `as is` into the right.

You are right! it works ! Thanks.

One last question.

I want all domain names [email protected], [email protected] and [email protected] all to point to the same imap and smtp server (in my case mydomain.nl)

Do I need to make autodiscover SRV dns records on domain1, domain2, domain3 and also subdomains?

If so -> what do I put in the SRV and autodiscover.php files to point to the SAME smtp/imap server (so what do I put in to the three fields on this page: https://help.directadmin.com/item.php?id=661)

Thanks!
 
Back
Top