Results 1 to 8 of 8

Thread: help needed: dns configuration for dynamic IP & backup smtp

  1. #1
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Question [SOLVED]: help needed: dns configuration for dynamic IP & backup smtp

    Hello all,

    I'm looking for some guidance for a correct dns setup for a zimbra server together with a hosted domain.

    Our domain and homepage are hosted by bluehost.
    let's say domain=mycompany.com

    At the moment, zimbra downloads mail from bluehost via pop3. Outgoing mail is sent via smart relay host of my local ISP.
    mailaddresses are styled: joe@mycompany.com
    The server sits behind a dynamic IP and a router with forwarded 25 port.
    a Dyndns hostname (mycompany.mine.nu) points to that IP.

    First: I'd like zimbra to act as an smtp server for incoming mail to benefit from it's spam/antivirus filters.
    Second: I want the bluehost smtp server to be a backup smtp server when mine goes down or it's external ip changes (very rarely)

    * Bluehost support stated I should modify the bluehost MX table as follows:
    mycompany.com MX 0 mycompany.mine.nu
    mycompany.com MX 10 mycompany.com

    * on my zimbra server I set dns up as follows:
    named.conf.local
    zone "mycompany.com" IN {
    type master;
    file "/etc/bind/db.truckle.mycompany.com";
    };

    truckle is the zimbra machine's hostname. for those curious, I refer to Terry Pratchett's book 'The Last Hero' for its true meaning.

    db.truckle.mycompany.com
    $TTL 604800
    @ IN SOA truckle. truckle.mycompany.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    604800 ) ; Minimum
    ;
    @ IN NS truckle.
    @ IN NS truckle.mycompany.com.
    @ IN MX 10 mycompany.com.
    @ IN A 192.168.54.11
    truckle IN A 192.168.54.11

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

    Could somebody confirm if this setup is correct/workable?

    minor problems I see, are:
    -from the zimbra server, I will not be able to resolve the bluehost IP relative to the hosted mycompany.com.
    -nor can the bluehost smtp server mail.mycompany.com be resolved.

    both are (I think) not essential, as the outgoing mail still will go via smart relay host of my local ISP.

    best regards
    glenn
    Last edited by glenndm; 02-16-2008 at 07:50 AM. Reason: missing word in title

  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 router then you'll need a Split DNS set-up. Follow the instructions on that page and see how you get on.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default

    split-dns procedure has been followed and is working on my server.
    dig mx mycompany.com returns the local address as it should.

    I just want to make sure the described external setup at bluehost is correct before i switch it over for real.
    that the zimbra server will not resolve the external mycompany.com, is not important. I'm more worried about it not resolving the external mail.mycompany.com at bluehost

    merci pour votre reponse.
    glenn
    Last edited by glenndm; 02-10-2008 at 01:28 PM.

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

    Default

    I can never remember if 0 (zero) is a valid priority for an MX record so I'd change them to 10 & 20 but otherwise they should be OK. You can always check your DNS via this link: Quick Check - Pingability.com
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default

    ok so nothing jumps out as really wrong.
    nothing left than to try it out, i guess
    thank you

  6. #6
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default

    I bought the MailHop Relay Zone service from dyndns.org

    The hosting (bluehost) mx record points to dyndns mailhop servers, which in turn points to my dynamic dns hostname.
    furthermore mailhop delivers mail to my router at port 2525 which internally gets redirected to zimbra port 25. As such I can also circumvent my local ISP block on port 25

    When/if I take the server offline, I put my dyndns hostname in offline mode. Further incoming mail get stored at dyndns.org server until my server is back online.

    thanks for the help
    glenn

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

    Default

    That sounds like a plan. Enjoy and if you have any problems/questions you know where we are.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Feb 2009
    Posts
    3
    Rep Power
    6

    Default

    Quote Originally Posted by glenndm View Post
    I bought the MailHop Relay Zone service from dyndns.org

    The hosting (bluehost) mx record points to dyndns mailhop servers, which in turn points to my dynamic dns hostname.
    furthermore mailhop delivers mail to my router at port 2525 which internally gets redirected to zimbra port 25. As such I can also circumvent my local ISP block on port 25

    When/if I take the server offline, I put my dyndns hostname in offline mode. Further incoming mail get stored at dyndns.org server until my server is back online.

    thanks for the help
    glenn
    Really Nice!

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  3. Replies: 2
    Last Post: 07-29-2007, 03:02 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. Configuration issues DNS and fetchmail
    By Stew in forum Installation
    Replies: 0
    Last Post: 08-24-2006, 11:13 AM

Posting Permissions

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