Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: New Zimbra install in OpenVZ container... DNS config required?

  1. #1
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    297
    Rep Power
    8

    Question New Zimbra install in OpenVZ container... DNS config required?

    Hi everyone

    I'm looking to install Zimbra in an OpenVZ container... either running Centos 5.3 or Ubuntu 8.04 templates

    I was reading through this wiki article: Ubuntu 8.04 LTS Server (Hardy Heron) Install Guide - Zimbra :: Wiki

    We're on a regular broadband connection behind an IPCop firewall router box.
    With exchange we currently relay all outgoing mail to a remote postfix relay VPS we rent.

    Since we're using a smart host/relay, does that mean I don't need to go through the DNS config steps?

    Obviously to get Zimbra receiving mail properly we need A/MX records for our domain pointing to our static IP and forward port 25 to the Zimbra local IP. And add an A record for the Zimbra machine in our local DNS.

    But I'm assuming I don't need to do all the bind config etc?

    Cheers, B

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

    Default

    Quote Originally Posted by batfastad View Post
    But I'm assuming I don't need to do all the bind config etc?
    That's a mistaken assumption, Zimbra (postfix) needs to resolve it's address via DNS and if you're behind a NAT router, a firewall or on any sort of private IP then you'll need a Split DNS set-up.
    Last edited by phoenix; 09-24-2009 at 08:15 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    297
    Rep Power
    8

    Default

    Ok great. Thought I better check.
    So that wiki page does apply to installing behind a NAT router, as well as from a public IP?

    I was reading through the quick start guide and the explanation on this page (http://www.zimbra.com/docs/os/latest...5.html#1059870) is what confused me.

    Cheers, B

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

    Default

    The page doesn't cover the scenario I mentioned above, you obviously need publlic DNS records to receive mail and that's what it's talking about - the split DNS is an extra wrinkle for those behind the router etc.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    297
    Rep Power
    8

    Default

    Gotcha

    1) So this is the DNS guide I need to follow?
    http://wiki.zimbra.com/index.php?title=Split_DNS

    2) Are there any CentOS installation guides around with more specific instructions?
    This one is pretty old... http://www.zimbra.com/forums/install...all-guide.html

    3) The section of the guide for Modifying Operating System Configurations here... http://www.zimbra.com/docs/os/latest...4.html#1055793

    Cheers, B

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

    Default

    Quote Originally Posted by batfastad View Post
    Gotcha

    1) So this is the DNS guide I need to follow?
    Split DNS - Zimbra :: Wiki
    Yes, that's the one or you could also search the forums for a thread named "DNS in a nutshell".

    Quote Originally Posted by batfastad View Post
    2) Are there any CentOS installation guides around with more specific instructions?
    This one is pretty old... http://www.zimbra.com/forums/install...all-guide.html
    There isn't really much to do with RHEL, just install the operating system and install the openssl package and compat-libstd++ packages mentioned in the thread you've mentioned. Then run the Zimbra installer and if there's any further missing dependencies it will tell you.

    Quote Originally Posted by batfastad View Post
    3) The section of the guide for Modifying Operating System Configurations here... Modifying Operating System Configurations
    The important thing is to get the hosts file correct and the DNS A & MX records pointing to your LAN IP and configured for your domain.com and not mail.domain.com (or whatever the FQDN is for your server). There are several posts by me describbing what you can do to check the dns, have a look at them and see if they give the correct results.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    297
    Rep Power
    8

    Default

    Brilliant! Thanks for the excellent help

    Think I'll go with CentOS even though I know more Ubuntu. I want to try and keep my Zimbra installation as clean and standard as possible to avoid any problems. Having me edit too many config files could end in disaster

    Quote Originally Posted by phoenix View Post
    The important thing is to get the hosts file correct and the DNS A & MX records pointing to your LAN IP and configured for your domain.com and not mail.domain.com (or whatever the FQDN is for your server). There are several posts by me describbing what you can do to check the dns, have a look at them and see if they give the correct results.
    So get my hosts file sorted... that's fine, done that plenty of times.
    And you mean setup my domain's DNS A/MX records for domain.com on our hosting provider to point to our static public IP... correct?
    (not records on our local DNS server)

    Cheers, B

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

    Default

    Quote Originally Posted by batfastad View Post
    So get my hosts file sorted... that's fine, done that plenty of times.
    And you mean setup my domain's DNS A/MX records for domain.com on our hosting provider to point to our static public IP... correct?
    No, I meant your LAN DNS records. There's no reason not to have the same domain name behind the NAT as you have in the public records - my point was to emphasise that you use domain.com (whatevere you decide to call the LAN domain) not the FQDN of the server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    297
    Rep Power
    8

    Default

    Ah right, sorry. Reading that Ubuntu installation page in the Wiki has messed up my mind

    Our LAN DNS server is just an IPCop box, I think it only runs a basic DNS Proxy service linked to its DHCP functions.
    There's an "Add Hosts" section in that where I add "subdomains" when I want internal users to access an internal server by FQDN rather than IP address.

    Or do you mean the DNS service (bind) on the Zimbra machine?

    Or should I be running another full DNS server instead of IPCop?

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

    Default

    Quote Originally Posted by batfastad View Post
    Or do you mean the DNS service (bind) on the Zimbra machine?
    Yes, I mean the BIND service that you'll be running.

    Quote Originally Posted by batfastad View Post
    Or should I be running another full DNS server instead of IPCop?
    If the IPcop is just a caching nameserver then you'll need a version of BIND that will resolve the IP of the Zimbra server - it's your choice how you achieve that.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 8
    Last Post: 01-20-2009, 01:06 PM
  2. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 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
  •