Results 1 to 9 of 9

Thread: Split dns working, but Zimbra can't resolve MX

  1. #1
    Mistoffeles is offline Senior Member
    Join Date
    Oct 2007
    Posts
    70
    Rep Power
    7

    Default Split dns working, but Zimbra can't resolve MX

    It works fine in DiG, but I still get:

    DNS ERROR resolving MX mail.mydomain.com

    when I try to install Zimbra.

    Really getting tired of trying to get this thing to work.

    The ldap also fails to start, but my guess is that it is related to the DNS fail.
    - Misty

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,495
    Rep Power
    56

    Default

    The usual question, post the output of the following command run on the Zimbra server:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    host `hostname`  <-- use that exact command with backticks not single quotes
    Please update your forum profile with the output (do not post it in this thread) of the following:

    Code:
    zmcontrol -v
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Mistoffeles is offline Senior Member
    Join Date
    Oct 2007
    Posts
    70
    Rep Power
    7

    Default

    Here's the info (moved from my DNS thread):


    cat /etc/hosts

    Code:
    127.0.0.1	localhost.localdomain	localhost
    192.168.5.5	mail.mydomain.com	mail
    cat /etc/resolv.conf

    Code:
    search mydomain.com
    nameserver 192.168.5.5
    dig mydomain.com mx

    Code:
    ;; QUESTION SECTION:
    ;mydomain.com.	IN	MX
    
    ;; ANSWER SECTION:
    mydomain.com.	3600	IN	MX	10 mail.mydomain.com.
    
    ;; AUTHORITY SECTION:
    mydomain.com.	3600	IN	NS	192.168.5.5.mydomain.com.
    
    ;; ADDITIONAL SECTION:
    mail.mydomain.com. 3600	IN	A	192.168.5.5
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.5.5#53(192.168.5.5)
    (etc.)
    dig mydomain.com any

    Code:
    ;; QUESTION SECTION:
    ;mydomain.com.	IN	ANY
    
    ;; ANSWER SECTION:
    mydomain.com. 3600	IN	SOA	mydomain.com. mail.mydomain.com. 3339765489 86400 86400 24192 3600
    mydomain.com. 3600	IN	NS	192.168.5.5.mydomain.com.
    mydomain.com. 3600	IN	MX	10 mail.mydomain.com.
    
    ;; ADDITIONAL SECTION:
    mail.mydomain.com. 3600	IN	A	192.168.5.5
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.5.5#53(192.168.5.5)
    (etc.)
    host `hostname`

    Code:
    Host mail not found: 3(NXDOMAIN)
    Now if I type hostname, I get mail as a response, but for some reason the host `hostname` command can't find it. I have no idea what this indicates
    - Misty

  4. #4
    mshanley's Avatar
    mshanley is offline Loyal Member
    Join Date
    Aug 2009
    Location
    Denver Colorado
    Posts
    82
    Rep Power
    5

    Default

    hi misty...

    this is for Ubuntu.. but the DNS stuff is the same.. please follow steps carefully.. and do the testing before you install..
    I am assuming from your records listed above you are using split dns..?
    If not let me know..
    silly question.. but your using your domain info in the right spots instead of mydomain.com right..?

    just look over the DNS stuff at the beginning of this for Ubuntu

    Ubuntu 8.04 LTS Server - Zimbra :: Wiki

  5. #5
    philpw99 is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    18
    Rep Power
    5

    Default

    Isn't that message "DNS ERROR resolving MX mail.mydomain.com" means you are doing it correctly, but just need to change the domain name from "mail.mydomain.com" to "mydomain.com" ?

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Please post your DNS zone file.

  7. #7
    Mistoffeles is offline Senior Member
    Join Date
    Oct 2007
    Posts
    70
    Rep Power
    7

    Default

    As it turns out, it was a combination of the FQDN and the firewall rule that allowed the machine to talk to itself on the LDAP port (or didn't). It has been changed for a more specific rule.

    The zone file is fine, it is now working with no changes.

    What I don't get is why Zimbra needs to talk to itself on the local IP rather than the localhost loopback (127.0.0.1), atmail doesn't have to do this. And I am not impressed with having to change my traditional Unix-style machine names (asterix, obelix, getafix, cacofonix) to Microsoft-style descriptive names just to install an email server.
    - Misty

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,495
    Rep Power
    56

    Default

    Quote Originally Posted by Mistoffeles View Post
    What I don't get is why Zimbra needs to talk to itself on the local IP rather than the localhost loopback (127.0.0.1), atmail doesn't have to do this.
    It's a requirement of Postfix that it's able to resolve it's IP address via DNS.

    Quote Originally Posted by Mistoffeles View Post
    And I am not impressed with having to change my traditional Unix-style machine names (asterix, obelix, getafix, cacofonix) to Microsoft-style descriptive names just to install an email server.
    The FQDN is a requirement for Linux servers in general, it's not a 'Microsoft Style' of anything. You can call your machines anything they like as long as they're part of a FQDN.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Mistoffeles is offline Senior Member
    Join Date
    Oct 2007
    Posts
    70
    Rep Power
    7

    Default

    I have several machines that do not have their host name set to the FQDN. They have to trouble sending mail (using sendmail) using the FQDN.

    A lot of UNIX computers at universities do not send mail as "Garfield", "Odie", or whatever name they are given.

    Heck I have even seen Exchange servers set up to send mail as something other than the hostname they are given on the local/internal network, although it takes some fiddling.
    - Misty

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 03:23 PM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •