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

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 03-08-2011, 02:36 PM
Loyal Member
 
Posts: 87
Default wiki:split DNS (domain names)

Hi all,

I am setting up a zimbra test environment with split DNS.
Following the wiki article where the fully-qualified server name is server.example.com.
Now in the db.server.example.com zone file there is an MX entry for mail.yourdomain.com.
Is "yourdomain.com" the same than "example.com"?
Can it be the same at all?

ps: this might be obvious but it isn't to me..
__________________
--
cheers
Reply With Quote
  #2 (permalink)  
Old 03-14-2011, 01:07 PM
Intermediate Member
 
Posts: 22
Default

Quote:
Originally Posted by rosch View Post
Is "yourdomain.com" the same than "example.com"?
Yes. What we're trying to do is intercept DNS queries for the mail server and return the local IP address (behind the firewall), rather than the address outside of the firewall. This includes the mail (MX) record.

For example, if I were setting up split DNS for a Zimbra server behind the ACME Corporations' firewall:

server (host) name: mail.acme.com
IP address: 192.168.1.2
DNS: 1.2.3.4 and 5.6.7.8

the configuration file would have:

Code:
// Default named.conf generated by install of bind-9.2.4-2
options {
       directory "/var/named";
       dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
       forwarders { 1.2.3.4 ; 5.6.7.8 ; };
};
include "/etc/rndc.key";
// We are the master server for server.example.com
zone "mail.acme.com" {
    type master;
    file "db.mail.acme.com";
};
and the file /etc/named/chroot/var/named/db.mail.acme.com would have:

Code:
@       IN      SOA     mail.acme.com. admin.mail.acme.com. (
                               10118      ; Serial
                               43200      ; Refresh
                               3600       ; Retry
                               3600000    ; Expire
                               2592000 )  ; Minimum

               IN      NS      192.168.1.2
               IN      A       192.168.1.2
               IN      MX      10 mail.acme.com.
Reply With Quote
  #3 (permalink)  
Old 03-14-2011, 01:20 PM
Loyal Member
 
Posts: 87
Default choose only one

Quote:
Originally Posted by blackpuma View Post
Yes. What we're trying to do is intercept DNS queries for the mail server and return the local IP address (behind the firewall), rather than the address outside of the firewall. This includes the mail (MX) record.
Ok, so in the wiki I think one should decide to use only one of both to reduce confusion, either yourdomain.com or example.com.
__________________
--
cheers
Reply With Quote
  #4 (permalink)  
Old 03-14-2011, 02:46 PM
Intermediate Member
 
Posts: 22
Default

Yes, that should be tweaked.
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.