Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: DynDNS and Zimbra

  1. #1
    Join Date
    Mar 2007
    Posts
    18
    Rep Power
    8

    Default DynDNS and Zimbra

    I have posted on this once already, but my post wasn't really geared towards this.

    Is there anybody on here the has been able to get Zimbra up and running using a DynDNS domain? I have signed up for Custom DNS through DynDNS and have my domain and MX records setup there, however, when I try to install Zimbra it still gives a lovely DNS Error. I have modified my hosts file as the Zimbra guide says, but that doesn't seem to help.

    I am almost ready to give up because its just frustrating me, so any suggestions or help would be greatly appreciated.

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

    Default

    If you are behind a NAT device then you'll need to setup a split-DNS, have a look in the WIKI for details. Are you sure that your DNS records are correct? You can check them here.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Mar 2007
    Posts
    18
    Rep Power
    8

    Default

    I have setup splitDNS per this guide:
    http://www.tickus.com/?q=node/15

    I am behind a router, but I am not sure if it is NAT or not. The A name records were automatically created for me when I brought my domain to DynDNS. I used the host command from linux to check my setup and it appeared to be ok there.

    So maybe the SplitDNS guide I found is wrong.

    *Update*
    I have since switched from using Custom DNS to using my registrar's service since I can specify MX records through them as well. So basically I have an MX record pointing to a free DynDNS Dynamic Host (ex: jzserve.dyndns.org) just so it can grab my external IP.

    These are my results from Pingability: http://pingability.com/zoneinfo.jsp?domain=jzeller.com

    However, my server isn't running at the moment, so it says it cannot connect to the MX host. Everything looks right to me, so its just flustering me.

    Also thank you phoenix and jholder(different thread) for all your help.
    Last edited by afterwego; 03-30-2007 at 08:50 AM.

  4. #4
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    Well what are the symptoms?

    What is the hostname you are installing onto?

    What does that resolve to from the machine you're installing on?

  5. #5
    Join Date
    Mar 2007
    Posts
    18
    Rep Power
    8

    Default

    The symptoms are that during Zimbra setup when it goes to configure it gives me a DNS ERROR, so I assume it is not seeing the MX record properly.

    The hostname I am trying to use is jzeller.com which I have already setup an MX record for which points to jzserve.dyndns.org with a priority of 10. This has been setup using my registrars DNS options.

    I did the split DNS setup using the link I posted above, and I just kind of assumed that it was a good tutorial. Since I understand the concept of Split DNS, but I don't know BIND very well.

    As far as what it resolves to I will have to post that later since I am at work and don't have access to the machine. SSH is blocked here.

  6. #6
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    I might be wrong but I would have thought it's more likely to be an A record issue than MX. MX should report a specific error in the installer.

    jzeller.com is a domainname, what hostname ie FQDN is the server called, and what does this resolve to on the server?

    As far as what it resolves to I will have to post that later since I am at work and don't have access to the machine. SSH is blocked here.
    Hint: Putty, socks proxy, company firewall port 443

  7. #7
    Join Date
    Mar 2007
    Posts
    18
    Rep Power
    8

    Default

    Here is the output from the installer...

    Create Domain: [jzeller.com]
    MX: jzserve.dyndns.org (66.41.217.148)

    Interface: 192.168.1.110
    Interface: 127.0.0.1


    DNS ERROR - none of the MX records for jzeller.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    My Hosts file:
    127.0.0.1 localhost
    127.0.1.1 jzeller.hsd1.mn.comcast.net. jzeller
    192.168.1.110 jzeller.com mail
    Hint: Putty, socks proxy, company firewall port 443
    Thats a good idea, I would just have to figure out how to set it up.

    Also thanks for all the help so far
    Last edited by afterwego; 03-30-2007 at 05:03 PM.

  8. #8
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    Hmm. Try replacing this line:

    192.168.1.110 jzeller.com mail
    with
    192.168.1.110 mail.jzeller.com mail

    Technically you can have an A record pointing to your domainname (jzeller.com, special SOA A record called @), but I don't think that's what you intend here.

    Also, you must make sure that your split dns is working - it seems the really important thing for the zimbra installer is that it can correctly lookup your hostname. Whatever 'hostname' returns on the server, you must be able to do: 'dig hostname' and get a correct answer back to the network you are on. In your case, it's probably easiest to call your server 'mail.jzeller.com', add this line to /etc/hosts:
    192.168.1.110 mail.jzeller.com mail
    and then make sure your internal dns returns 192.168.1.110 when you do 'dig mail.jzeller.com'. Don't worry about the DNS ERROR for MX for now, just get the package installed and running.

  9. #9
    Join Date
    Mar 2007
    Posts
    18
    Rep Power
    8

    Default

    Ok after fiddling with it a bit I have found that by doing a 'dig mx mail.jzeller.com' I get a correct response to the MX record I setup.

    However, when I do a 'dig a mail.jzeller.com' or a 'dig mail.jzeller.com' I do not get the answer section I got with 'dig mx mail.jzeller.com'

    So what I am thinking is something in my hosts file still is not correct or something in my Split DNS setup is not right. The question then becomes does this make sense and what is the best way of pinpointing where the issue really is.

    Here are the results from my 'dig mail.jzeller.com'
    ; <<>> DiG 9.3.2 <<>> mail.jzeller.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1340
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.jzeller.com. IN A

    ;; AUTHORITY SECTION:
    jzeller.com. 362 IN SOA ns1.dreamhost.com. hostmaster.dreamhost.com. 2007033000 16248 1800 1814400 14400

    ;; Query time: 5 msec
    ;; SERVER: 192.168.1.110#53(192.168.1.110)
    ;; WHEN: Sat Mar 31 00:57:54 2007
    ;; MSG SIZE rcvd: 95
    nslookup results (not sure if these make any difference)
    Server: 192.168.1.110
    Address: 192.168.1.110#53

    Non-authoritative answer:
    *** Can't find mail.jzeller.com: No answer
    Also for informations sake this is the guide I followed:

    http://www.tickus.com/?q=node/15
    Last edited by afterwego; 03-31-2007 at 12:06 AM.

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    You still seem to have incorrect DNS records (at least the external ones). Is dreamhost the host for your domain name? If it is, do they have any DNS configuration that would allow you to set-up A & MX records? If they can't do that is there a facility to forward your DNS requests to your new DNS hosting provider?

    This command 'dig mail.jzeller.com' isn't correct, you run all the dig commands against your domain name i.e. 'dig jzeller.com any' and that should tell you whether your records are correct. From here that command gives the following:
    Code:
    dig jzeller.com any
    
    ; <<>> DiG 9.3.2 <<>> jzeller.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25628
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;jzeller.com.                   IN      ANY
    
    ;; ANSWER SECTION:
    jzeller.com.            121726  IN      NS      ns2.dreamhost.com.
    jzeller.com.            121726  IN      NS      ns3.dreamhost.com.
    jzeller.com.            121726  IN      NS      ns1.dreamhost.com.
    
    ;; AUTHORITY SECTION:
    jzeller.com.            121726  IN      NS      ns1.dreamhost.com.
    jzeller.com.            121726  IN      NS      ns2.dreamhost.com.
    jzeller.com.            121726  IN      NS      ns3.dreamhost.com.
    
    ;; ADDITIONAL SECTION:
    ns1.dreamhost.com.      12870   IN      A       66.33.206.206
    ns2.dreamhost.com.      12870   IN      A       66.201.54.66
    ns3.dreamhost.com.      171270  IN      A       66.33.216.216
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Sat Mar 31 09:20:57 2007
    ;; MSG SIZE  rcvd: 183
    which, as you can see, gives you no valid A or MX records. They all stop at your domain hosting provider - that's why you need to forward your DNS to dynDNS.org. That's certainly why it won't work from the 'outside'.

    Post the configuration files that you're actually using on your DSN server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. OS-X - start zimbra whitout DNS on localhost
    By sam75 in forum Installation
    Replies: 7
    Last Post: 06-03-2006, 12:34 PM
  2. Installing Zimbra on CENTOS
    By gapnet in forum Installation
    Replies: 2
    Last Post: 04-11-2006, 08:25 AM
  3. Question On Setup For Testing Zimbra At Home
    By freddy in forum Installation
    Replies: 4
    Last Post: 12-14-2005, 03:20 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
  •