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.