Results 1 to 9 of 9

Thread: DNS error

  1. #1
    leiw is offline Active Member
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default DNS error

    Hello,

    I have a DNS server in local lan (192.168.0.16), following domain setting delegation by namecheap,

    $TTL 600
    @ IN SOA abc.com. log.abc.com. (
    20040721;
    28800;
    14400;
    720000;
    86400;
    )
    @ IN NS abc.com.
    @ IN MX 10 mail.abc.com.
    @ IN A 1.2.3.4
    mail IN A 1.2.3.4
    ns1 IN A 1.2.3.4
    ns2 IN A 1.2.3.4
    www IN A 1.2.3.4

    Here is the Zimbra server resolve.conf setting:

    search com
    nameserver 192.168.0.16


    and hosts setting:

    127.0.0.1 localhost.localdomain localhost
    192.168.0.91 abc.com abc


    Here is the error when installing:

    Setting defaults... MX: mail.abc.com (1.2.3.4)

    Interface: 192.168.0.91
    Interface: 127.0.0.1
    1.2.3.4
    1.2.3.4


    DNS ERROR - none of the MX records for abc.com
    resolve to this host


    I don't know how to solve this DNS problem.

    Thx !!

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    You should post the output above in the 'code' box (highlight text and hit the # symbol above), it makes it easier to read.

    Try the following on the zimbra server:

    Code:
    host `hostname'   <-- type as-is with backticks not single quotes.
    dig yourdomain.com mx
    dig yourdomain.com any
    and post the output.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    This part of your record

    Quote Originally Posted by leiw View Post
    @ IN A 1.2.3.4
    mail IN A 1.2.3.4
    ns1 IN A 1.2.3.4
    ns2 IN A 1.2.3.4
    www IN A 1.2.3.4
    can't possibly work. Substitute 1.2.3.4 with the actual ip address of your Zimbra box (which appears to be 192.168.0.91).

    For a more complete understanding you might want to read one or more of the following wiki articles:

    DNS
    Split DNS
    or the DNS portion of the Ubuntu Install Guide

    Cheers,

    Dan

  4. #4
    leiw is offline Active Member
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    You should post the output above in the 'code' box (highlight text and hit the # symbol above), it makes it easier to read.

    Try the following on the zimbra server:

    Code:
    host `hostname'   <-- type as-is with backticks not single quotes.
    dig yourdomain.com mx
    dig yourdomain.com any
    and post the output.
    -------------------------------------------------------------------------------------

    >> host abc.com

    abc.com has address 1.2.3.4
    abc.com mail is handled by 10 mail.abc.com.

    -------------------------------------------------------------------------------------

    >> dig abc.com mx

    ; <<>> DiG 9.4.2 <<>> abc.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26777
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

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

    ;; ANSWER SECTION:
    abc.com. 600 IN MX 10 mail.abc.com.

    ;; AUTHORITY SECTION:
    abc.com. 600 IN NS abc.com.

    ;; ADDITIONAL SECTION:
    mail.abc.com. 600 IN A 1.2.3.4
    abc.com. 600 IN A 1.2.3.4

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.16#53(192.168.0.16)
    ;; WHEN: Wed Jan 9 15:45:37 2008
    ;; MSG SIZE rcvd: 100

    -------------------------------------------------------------------------------------

    >> dig abc.com any

    ; <<>> DiG 9.4.2 <<>> abc.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35474
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;abc.com. IN ANY

    ;; ANSWER SECTION:
    abc.com. 600 IN SOA abc.com. log.abc.com.
    20040721 28800 14400 720000 86400
    abc.com. 600 IN NS abc.com.
    abc.com. 600 IN MX 10 mail.abc.com.
    abc.com. 600 IN A 1.2.3.4

    ;; ADDITIONAL SECTION:
    abc.com. 600 IN A 1.2.3.4
    mail.abc.com. 600 IN A 1.2.3.4

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.16#53(192.168.0.16)
    ;; WHEN: Wed Jan 9 15:47:51 2008
    ;; MSG SIZE rcvd: 156
    Last edited by leiw; 01-08-2008 at 04:55 PM.

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    Let's try this again - what is the actual IP address that you are hiding by changing it to 1.2.3.4 Post the correct IP so we can see what you're doing.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    leiw is offline Active Member
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    Let's try this again - what is the actual IP address that you are hiding by changing it to 1.2.3.4 Post the correct IP so we can see what you're doing.
    ----------------------------------------------------------------------
    >> host wilson-kwok.com
    wilson-kwok.com has address 210.0.214.116
    wilson-kwok.com mail is handled by 10 mail.wilson-kwok.com.

    ----------------------------------------------------------------------

    >> dig wilson-kwok.com mx

    ; <<>> DiG 9.4.2 <<>> wilson-kwok.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16881
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;wilson-kwok.com. IN MX

    ;; ANSWER SECTION:
    wilson-kwok.com. 600 IN MX 10 mail.wilson-kwok.com.

    ;; AUTHORITY SECTION:
    wilson-kwok.com. 600 IN NS wilson-kwok.com.

    ;; ADDITIONAL SECTION:
    mail.wilson-kwok.com. 600 IN A 210.0.214.116
    wilson-kwok.com. 600 IN A 210.0.214.116

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.16#53(192.168.0.16)
    ;; WHEN: Thu Jan 10 00:23:04 2008
    ;; MSG SIZE rcvd: 100

    ----------------------------------------------------------------------

    >> dig wilson-kwok.com any

    ; <<>> DiG 9.4.2 <<>> wilson-kwok.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13424
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;wilson-kwok.com. IN ANY

    ;; ANSWER SECTION:
    wilson-kwok.com. 600 IN SOA wilson-kwok.com. log.wilson-kwok.com. 20040721 28800 14400 720000 86400
    wilson-kwok.com. 600 IN NS wilson-kwok.com.
    wilson-kwok.com. 600 IN MX 10 mail.wilson-kwok.com.
    wilson-kwok.com. 600 IN A 210.0.214.116

    ;; ADDITIONAL SECTION:
    wilson-kwok.com. 600 IN A 210.0.214.116
    mail.wilson-kwok.com. 600 IN A 210.0.214.116

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.16#53(192.168.0.16)
    ;; WHEN: Thu Jan 10 00:23:50 2008
    ;; MSG SIZE rcvd: 156

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    That's better, the problem is obvious with that information. You'll need a Split DNS set-up so Zimbra (Postfix) can resolve it's internal LAN IP, follow the link that Dan posted above and follow the instructions.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    jcolaco is offline Starter Member
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    6

    Default

    I have the same problem. Doing a Split DNS doesn't solve the issue.
    I really dont understand what does the zimbra instalation want, my DNS server is working fine and is correctly according to DNSStuff.

    The only thing I need to configure is the reverse, can it be the cause of the problem?

  9. #9
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    Quote Originally Posted by jcolaco View Post
    I have the same problem. Doing a Split DNS doesn't solve the issue.
    I really dont understand what does the zimbra instalation want, my DNS server is working fine and is correctly according to DNSStuff.

    The only thing I need to configure is the reverse, can it be the cause of the problem?
    What DNSStuff tells you is immaterial if you have your Zimbra server on a DMZ. DNSStuff by definition is looking at your public IP, which is NOT the ip that Zimbra sees when it looks at its own local network configuration. The question is what happens when you dig for your domain at the command line on the Zimbra server itself. That should return, NOT the public IP address of your mailserver, but the actual, inside-the-dmz (or LAN) ip address that your network adaptor owns. The purpose of split DNS is so that your Zimbra box can self-resolve to an address nobody else in the whole wide world can see or cares about.

    You DO need to fix your reverse, but NOT so you can install Zimbra, just so the mail you and your users send out doesn't get canned in everybody else's spam traps. . .
    Cheers,

    Dan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  3. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  4. Replies: 14
    Last Post: 12-22-2005, 04:59 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11: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
  •