Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-2011, 09:04 AM
Loyal Member
 
Posts: 76
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.
Reply With Quote
  #2 (permalink)  
Old 08-02-2011, 09:12 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.