Results 1 to 2 of 2

Thread: Split DNS, Multiple Domains

  1. #1
    buee is offline Loyal Member
    Join Date
    Feb 2009
    Posts
    76
    Rep Power
    6

    Default Split DNS, Multiple Domains

    What would be the accurate way to configure split-DNS with multiple domains configured in Zimbra?

    I have 4 domains that need to have email servers, let's say they're domain1, domain2, domain3, and domain4. The main zone may look a little strange because my Zimbra server is set up with DRBD. I gave each one its own zone and loaded them in the named.conf file, but they don't appear to be resolving correctly.

    The default domain zone looks like this:
    Code:
    ; BIND db file for domain1.com
    
    $TTL 86400
    
    @       IN      SOA     domain1.com.      admin.domain1.com.    (
                            2011070101      ; serial number YYMMDDNN
                            28800           ; Refresh
                            7200            ; Retry
                            864000          ; Expire
                            86400           ; Min TTL
                            )
    
    
    $ORIGIN domain1.com.
    
                    IN      NS      192.168.168.11
                    IN      MX      10 zimbra.domain1.com.
    zimbra          IN      A       192.168.168.10
    zimbra          MX      10      zimbra
    zimbra-1        IN      A       192.168.168.11
    zimbra-1        MX      10      zimbra-1
    zimbra-2        IN      A       192.168.168.12
    zimbra-2        MX      10      zimbra-2
    Subsequent Domains look like this:
    Code:
    ; BIND db file for domain2.com
    
    $TTL 86400
    
    @       IN      SOA     domain2.com.      admin.domain2.com.      (
                            2011072501      ; serial number YYMMDDNN
                            28800           ; Refresh
                            7200            ; Retry
                            864000          ; Expire
                            86400           ; Min TTL
                            )
    
    
    $ORIGIN domain2.com.
    
                    IN      NS      192.168.168.11
    zimbra          IN      A       192.168.168.10
                    MX      10      mail.domain2.com
    mail            IN      A       192.168.168.10
    The subsequent domains are kinda stripped down because I was trying to get the replicated data out of there to no avail. I tried CNAME records for zimbra and mail, but then named wouldn't start.

    Restarting/reloading named succeeds with the above config, but nslookups and digs fail on all but the primary domain. And I get errors in /var/log/messages like:
    Code:
    Aug  2 10:56:02 zimbra-1 named[18671]: domain2.com-zone:17: ignoring out-of-zone data (zimbra.domain1.com)
    Aug  2 10:56:02 zimbra-1 named[18671]: domain2.com-zone:19: ignoring out-of-zone data (mail.domain1.com)
    I'm sure it's something stupid that I'm doing wrong.

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

    Default

    Quote Originally Posted by buee View Post
    What would be the accurate way to configure split-DNS with multiple domains configured in Zimbra?
    The same way you'd configure any domain, you need valid DNS A & MX records pointing to the LAN IP of the zimber server - your MX records for 'zimbra', 'zimbra-1' & 'zimbra-2' are not configured correctly. As always, details in the Split DNS article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Advanced MTA Configuration - multiple domains
    By keyhman in forum Installation
    Replies: 6
    Last Post: 04-20-2012, 02:23 AM
  2. Multiple Mail Domains - Noob Q?
    By KDoc in forum Installation
    Replies: 5
    Last Post: 02-15-2011, 01:58 AM
  3. Replies: 15
    Last Post: 04-14-2008, 12:29 PM
  4. Replies: 1
    Last Post: 10-26-2007, 08:21 AM
  5. Replies: 3
    Last Post: 06-07-2007, 07:19 AM

Tags for this Thread

Posting Permissions

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