Exchange server issues

Ch3vr0n

Verified User
Joined
Aug 24, 2014
Messages
88
I have a few domains that both use the same exchange server. Newly created e-mail addresses do not seem to get the mail forwarded to the exchange server. E-mail does show up in roundcube. Existing accounts do work

DNS records are currently as follows for both domains

Name Type Content TTL Prio
ns1.<domainame>.be A 194.247.30.207 900 0
ns2.<domainame>.be A 213.163.67.14 900 0
<domainame>.be A 193.23.143.175 900 0
*.<domainame>.be A 193.23.143.175 900 0
localhost.<domainame>.be A 127.0.0.1 900 0
mail.<domainame>.be A 91.183.51.12 900 0
www.<domainame>.be A 193.23.143.175 3600 0
mail.<domainame>.be CNAME remote.<exchangehost>.be 3600 0
<domainame>.be MX mail.<domainame>.be 3600 10
<domainame>.be NS ns1.<domainame>.nl 900 0
<domainame>.be NS ns2.<domainame>.nl 900 0
<domainame>.be SOA ns1.<domainame>.nl hostmaster@<domainame>.nl 2015111718 14400 3600 1209600 3600 4800 0

remote.<exchangehost>.be

is the hostname of the exchange server.

What am i missing?
 
You are missing dots
mail.<domainame>.be CNAME remote.<exchangehost>.be 3600 0
should be
mail.<domainame>.be. CNAME remote.<exchangehost>.be. 3600 0

Best regards
 
trailing dot after a country TLD? I'm not going to doubt a network expert but that is a new one for me. Does that dot serve any specific purpose or have a meaning?
 
Sorry for the double post but i can't find an edit button.

Something i forgot to ask, are there any specific things i need to check / modify in outlook (exchange server accounts)?
 
Yes, it means that the dns entry end there, otherwise, without a dot, the DNS service would set this:
mail.<domainame>.be.<domainame>.be

DNS should be of two format:
normal entry like:
mail A 127.0.0.1
full entry like:
mail.domain.tld. A 127.0.0.1

Not setting the last dot like:
mail.domian.tld A 127.0.0.1
will be the same as have this DNS record:
mail.domain.tld.domain.tld

I am sorry but I have no experience with Exchange servers, you will probably have better luck on a microsoft orientend forum i guess.

Best regards
 
No worries, i'll find out soon enough if it worked. Main thing first is to see if if the mail is properly routed to the exchange server now. Outlook will be the next "problem" then if at all
 
The double domain.tld is added as a result of the 'domain domain.tld' in the /etc/resolv.conf (if you forget the last dot).

The 'extra' dot after the domain is because the tld itself is a child of the DNS rootservers.
Actually you can even browse to a domain like "https://www.directadmin.com." (Including the dot at the end).

Anyway, exchange... don't know much about that, but you did uncheck the option to use the local mail server as in: https://help.directadmin.com/item.php?id=8 ?
 
The trailing dot after the country TLD is to define "Fully Qualified Domain Name" (FQDN).

Actually all websites that you visit daily have that dot and need it to work. Try http://www.google.com. - it'll work :) The browsers are made in a way to not require the dot at the end and actually to visually remove it only for user convenience.

More info on "absolute domains" here: https://en.wikipedia.org/wiki/Fully_qualified_domain_name

The root is unnamed - therefore it is just empty.
 
Back
Top