Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-07-2011, 02:42 PM
Loyal Member
 
Posts: 76
Default None of the MX records match this name

Hi all,

I'm having a problem with my DNS setup as you probably expected.

I am hosting two domains on Zimbra Opensource 6.0.8 running under Debian 5 (64bit).

When I issue the MX check from the admin web interface, I get two results.

On the first domain it succeeds but on the second it fails with the error in the subject.

Let's call the two domains 'foo.com' and 'bar.com'.

Here is what I currently have.

1) Zimbra is on my LAN
2) The DNS server is not installed on Zimbra but is on my lan.


* /etc/hosts
Code:
127.0.0.1       localhost.localdomain   localhost
192.168.122.11  mail.foo.com      mail
* /etc/resolv.conf
Code:
nameserver 192.168.122.1
nameserver 8.8.4.4
nameserver 8.8.8.8
* host `hostname`
Code:
mail.foo.com      A       192.168.122.11
* The MX Check from the admin web interface
foo.com
Code:
MX records check passed.
bar.com
Code:
Domain is configured to use SMTP host: mail.foo.com. None of the MX records match this name. Found the following MX records:
0 mail.bar.com.
* Internal DNS query
foo.com
Code:
# dig MX foo.com

;; QUESTION SECTION:
;foo.com.                 IN      MX

;; ANSWER SECTION:
foo.com.          604800  IN      MX      0 mail.foo.com.

;; AUTHORITY SECTION:
foo.com.          604800  IN      NS      ns.foo.com.

;; ADDITIONAL SECTION:
mail.foo.com.     604800  IN      A       192.168.122.11
bar.com
Code:
# dig MX bar.com

;; QUESTION SECTION:
;bar.com.                  IN      MX

;; ANSWER SECTION:
bar.com.           604800  IN      MX      10 mail.bar.com.

;; AUTHORITY SECTION:
bar.com.           604800  IN      NS      ns.bar.com.

;; ADDITIONAL SECTION:
mail.bar.com.      604800  IN      A       192.168.122.11
ns.bar.com.        604800  IN      A       192.168.122.1

* External DNS
foo.com
Code:
$ dig MX foo.com
;; QUESTION SECTION:
;foo.com.                 IN      MX

;; ANSWER SECTION:
foo.com.          1800    IN      MX      0 mail.foo.com.

;; AUTHORITY SECTION:
foo.com.          2446    IN      NS      ns25.domaincontrol.com.
foo.com.          2446    IN      NS      ns26.domaincontrol.com.

;; ADDITIONAL SECTION:
mail.foo.com.     1800    IN      A       111.222.333.444

bar.com
Code:
$ dig MX bar.com

;; QUESTION SECTION:
;bar.com.                  IN      MX

;; ANSWER SECTION:
bar.com.           14834   IN      MX      10 mail.bar.com.

;; AUTHORITY SECTION:
bar.com.           14834   IN      NS      ns1.hebergeons.be.
bar.com.           14834   IN      NS      ns2.hebergeons.be.

;; ADDITIONAL SECTION:
mail.bar.com.      14834   IN      A       111.222.333.444
ns1.hebergeons.be.      65825   IN      A       87.98.252.184
ns2.hebergeons.be.      65825   IN      A       87.98.149.47
Can you spot what I might have done wrong? Any help, advice or pointers to documentation are welcome.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-07-2011, 02:54 PM
Moderator
 
Posts: 1,554
Default

is this actually impeding mail operations for bar.com? it seems like it might be more of a warning thing. zimbra doesnt' really know that it is mail.bar.com even if you point a dns entry to it. it only knows it's mail.foo.com, so it might expect your mx record for bar.com to point to mail.foo.com. That being said, any remote mta looking up mail.bar.com will wind up at the right ip and zimbra should accept the mail still.
Reply With Quote
  #3 (permalink)  
Old 02-07-2011, 02:56 PM
Junior Member
 
Posts: 8
Default

Heyhey!

Take a look here Split DNS - Zimbra :: Wiki
And in this thread [SOLVED] DNS/MX Question

Hopefully you will find some answers there.
Reply With Quote
  #4 (permalink)  
Old 02-07-2011, 03:46 PM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by bdial View Post
is this actually impeding mail operations for bar.com? it seems like it might be more of a warning thing. zimbra doesnt' really know that it is mail.bar.com even if you point a dns entry to it. it only knows it's mail.foo.com, so it might expect your mx record for bar.com to point to mail.foo.com. That being said, any remote mta looking up mail.bar.com will wind up at the right ip and zimbra should accept the mail still.
Thanks for the quick reply! I should have mentioned that I can get mail in and out.

I'll keep digging and see what I find.
Reply With Quote
  #5 (permalink)  
Old 02-07-2011, 03:46 PM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by pondi View Post
Heyhey!

Take a look here Split DNS - Zimbra :: Wiki
And in this thread [SOLVED] DNS/MX Question

Hopefully you will find some answers there.
Thanks for the links! I'll have a read tomorrow. much appreciated.
Reply With Quote
  #6 (permalink)  
Old 02-22-2011, 06:02 AM
bma bma is offline
Member
 
Posts: 14
Default

I have the same problem as ecobrazim's. have you gotten a solution for that? thanks
Reply With Quote
  #7 (permalink)  
Old 02-22-2011, 06:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by bma View Post
I have the same problem as ecobrazim's. have you gotten a solution for that? thanks
A 'me too' post doesn't really tell us much. You can start by updating your forum profile with the output of the following command (do not post the output in this thread):

Code:
zmcontrol -v
Next, you can post the output from the commands shown in the first post or those in the 'Verify...' section of the Split DNS article. You can also tell us whether this is a new install or an upgrade. You can also tell us which solutions you've actually tried to resolve the problem.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.