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
  #11 (permalink)  
Old 01-30-2011, 07:51 AM
Member
 
Posts: 12
Default

Quote:
Originally Posted by phoenix View Post
No, I meant use the command exactly as you see it - do not change anything in the command.
This is what I get:

Quote:
root@faeaa:~# host `hostname`
Host faeaa not found: 3(NXDOMAIN)

Quote:
Originally Posted by phoenix View Post
What's the answer to my question about the firewall?
Nothing I'm aware of. I've checked what packages I have installed using the command
Code:
dpkg --get-selections
and didn't find any. This is a "naked" Ubuntu I'm using.

Quote:
Originally Posted by phoenix View Post
Then I'm slightly confused by your DNS output, it's getting a server response at this IP address (look at the IP in the output of your dig command above):
...
The DNS servers in your resolv.conf don't appear to have your DNS records:
...
The DNS server IP in your resolv.conf should be your install of BIND on the Zimbra server.
OK, now I'm getting confused about the Split DNS page you mentioned. The page mentions to edit /etc/bind/named.conf. I didn't do that, perhaps that would cause those problems?

Quote:
// 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 {
; };
};
include "/etc/rndc.key";
// We are the master server for server.example.com
zone "server.example.com" {
type master;
file "db.server.example.com";
};
My file looks like that:

Quote:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
Should I put some part of the mentioned named.conf, and which part? And to which file: named.conf, named.conf.options, named.conf.local or named.cong-default-zones? The last three contain:

named.conf.options
Quote:
options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See US-CERT Vulnerability Note VU#800113

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

// forwarders {
// 0.0.0.0;
// };

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
named.conf.local
Quote:
//
zone "faeaa.com" {
type master;
file "/var/lib/bind/faeaa.com.hosts";
};
named.conf.default-zones
Quote:
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
Then, the page also mentions
Quote:
Create a /var/named/db.server.example.com
and
Quote:
Change /etc/resolv.conf
However, I'm getting confused here because the page mentions doing this if one wants to install Zimbra behind firewall, which, as it looks, I don't have. Additionally, DNS were configured in Webmin. The full records are as follow:

Quote:
faeaa.com. NS Default ns1.faeaa.com.
faeaa.com. A Default 46.4.156.210
ns1.faeaa.com. A Default 46.4.156.210
ns2.faeaa.com. A Default 46.4.156.211
FAEAA (Financial and Economic Analysis Association). CNAME Default faeaa.com.
zimbra.faeaa.com. A Default 46.4.156.210
faeaa.com. MX 38400 10 mxl.faeaa.com.
mxl.faeaa.com. A Default 46.4.156.210
Many thanks for help.

Best
Reply With Quote
  #12 (permalink)  
Old 01-30-2011, 10:56 AM
Starter Member
 
Posts: 1
Default

Hey, I honestly didn't read the whole post beginning to end but why do you need to run Bind on the Zimbra box? Seems like the simple solution would be to not run the DNS Server and Mail Server together.

Regards,

Brian
(diggleby.com)
Reply With Quote
  #13 (permalink)  
Old 01-30-2011, 04:10 PM
Member
 
Posts: 12
Default

Update: I've reinstalled the whole system to install Zimbra on a clean system. I've only installed Webmin to manage DNS through BIND.

DNS records are as previously:

Quote:
faeaa.com. NS Default ns1.faeaa.com.
faeaa.com. A Default 46.4.156.210
ns1.faeaa.com. A Default 46.4.156.210
ns2.faeaa.com. A Default 46.4.156.211 FAEAA (Financial and Economic Analysis Association). CNAME Default faeaa.com.
zimbra.faeaa.com. A Default 46.4.156.210
mxl.faeaa.com. A Default 46.4.156.210
faeaa.com. MX 38400 10 mxl.faeaa.com.
And I've added only the last line to /etc/hosts file:

Quote:
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
46.4.156.210 faeaa
46.4.156.210 zimbra.faeaa.com zimbra
Unfortunately, the very same error appear when trying to install Zimbra.

I'm trying to check the records using the recommended site (Quick Check - Pingability.com), and there seems to be an error with mxl. Could that possibly be one of the causes? Or perhaps those records are not relevant at this stage of installation?
Reply With Quote
  #14 (permalink)  
Old 01-31-2011, 06:44 AM
Member
 
Posts: 12
Default

It worked!

Instead of having the following /etc/hosts:

Quote:
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
46.4.156.210 zimbra.faeaa.com zimbra
I made (purely by mistake by the way!--i.e. when copying and pasting my IP address) this:

Quote:
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
46.4.156.211 zimbra.faeaa.com zimbra
I used my other IP address. Now I'm going to play with the installation further, will see how it goes.

Many thanks for your help.
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.