| 
05-06-2008, 10:51 AM
| | Member | | Join Date: Apr 2008
Posts: 23
| | split dns help Hello, some posts ago I ask how can I install Zimbra to use it as a groupware
suite on a server in a lan that does not have a fqdn and would like to setup
it to exchange mail and calendar appointments between the few pcs of the
lan. I am trying and I have some doubts about the split dns instructions at: Split DNS - Zimbra :: Wiki
I have installed the bind server, make it run at boot time, and then insert
the following in the /etc/named.conf file:
forwarders { 192.168.1.110; };
inside the options group, as this is the ip address of the router that
act as a dns in the lan.
And add this at the tail of the file:
zone "my.little.shop" {
type master;
file "db.my.little.shop";
}
After this, create a file /var/named/db.my.little.shop as:
@IN SOA my.little.shop. hostmaster.my.little.shop. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS
IN A
IN MX 10 my.little.shop.
Now, as I have to put the obvious 127.0.0.1 or
the internal address of the lan, i.e. 192.168.1.112 ?
Then, change /etc/resolv.conf and add
nameserver 192.168.1.112
before the router address that was written as
nameserver 192.168.1.110
Even here, it should be simple to insert the loopback address or is not a
good thing? In the lan run dhcp, so I would like to know if I have to use
static ips or I could work with dhcp..
It seems I have a bit of confusion.. :-) | 
05-06-2008, 11:03 AM
|  | Moderator | | Join Date: Nov 2006 Location: Northampton, UK ZCS Version: Release 5.0.7_GA_2450.RHEL5_20080630192737 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,354
| | Hi,
You have not supplied the necessary records for :- I imagine from your setup they should be Code: my IN A 192.168.1.112
IN NS 192.168.1.112 otherwise the MX record will not be able to resolve. With respect to resolv.conf it all depends on whether BIND has bound to all available interfaces, but using 192.168.1.112 should be just fine
Hope that is of help.
__________________ Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II | Zimbra | Release Release 5.0.7_GA_2450.RHEL5_20080630192737 NETWORK edition running under Xen 3.2.1 CentOS 5.2 i386 VM | Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP | | 
05-06-2008, 11:18 AM
| | Member | | Join Date: Apr 2008
Posts: 23
| | No, I supply them, asking what should be intendend for *internal address
of the server* (I wrote this inside minor and major, as a tag), if the
internal address of the lan (as you says), or if I could simply arrange with
the localhost address 127.0.0.1 (dhcp cause me trouble). The "my" you
insert before the A record is not listed in the Split DNS Wiki. Why? | 
05-06-2008, 12:53 PM
| | Moderator | | Join Date: Mar 2006 Location: Massachusetts ZCS Version: Release 5.0.6_GA_2313.RHEL4_20080522102400 CentOS4 FOSS edition
Posts: 458
| | I would recommend using a real, static IP address, instead of the loopback. Sorry, I can't provide any links, or really any reasoning of why the loopback wouldn't work, but it just doesn't seem right to me. I've never seen DNS setup using the loopback. | 
05-06-2008, 12:54 PM
|  | Moderator | | Join Date: Nov 2006 Location: Northampton, UK ZCS Version: Release 5.0.7_GA_2450.RHEL5_20080630192737 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,354
| | Quote:
Originally Posted by soxfan I would recommend using a real, static IP address, instead of the loopback. Sorry, I can't provide any links, or really any reasoning of why the loopback wouldn't work, but it just doesn't seem right to me. I've never seen DNS setup using the loopback. | Agreed. A internal IP is just fine as long as DNS is okay.
__________________ Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II | Zimbra | Release Release 5.0.7_GA_2450.RHEL5_20080630192737 NETWORK edition running under Xen 3.2.1 CentOS 5.2 i386 VM | Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP | | 
05-06-2008, 01:13 PM
| | Member | | Join Date: Apr 2008
Posts: 23
| | Tomorrow I will try. This is my first installation of Zimbra and I am testing
it on a ubuntu machine before trying to put it on the server in the lan. The
server is a fedora 8 64 bit machine, and I would like to put it as a virtual
machine or try the redhat version.. Could I achieve good installation or
I have to wait for troubles? | 
05-07-2008, 05:54 AM
| | Moderator | | Join Date: Mar 2006 Location: Massachusetts ZCS Version: Release 5.0.6_GA_2313.RHEL4_20080522102400 CentOS4 FOSS edition
Posts: 458
| | Quote:
Tomorrow I will try. This is my first installation of Zimbra and I am testing
it on a ubuntu machine before trying to put it on the server in the lan. The
server is a fedora 8 64 bit machine, and I would like to put it as a virtual
machine or try the redhat version.. Could I achieve good installation or
I have to wait for troubles?
| I'm not clear on what you are going to try on your server. I haven't done it myself, but I believe others have been successful running Zimbra on a virtual machine. However, you would want to run a supported OS on your guest machine. As far as running it under Fedora 8, I would not recommend that at all. You really need to choose one of the supported operating systems; for the FOSS version meaning an OS that packages are available for. You are asking for trouble if you try to install a package that is not meant for the OS you are running.
I run Fedora on all my desktops, both at work and home, but just in general I would not recommend it as a server OS. Just too much of a moving target in my opinion. If you want a free, Red Hat based OS have a look at CentOS. I know this kind of contradicts what I said above, but the Red Hat packages will work on the corresponding version of CentOS (ie RHEL 4 packages work on CentOS 4). From the CentOS web site, it "aims to be 100% binary compatibe" with Red Hat. | 
05-07-2008, 11:11 AM
| | Member | | Join Date: Apr 2008
Posts: 23
| | I will explain you.
Some other build a server with a fedora 8 64 bit machine, and now he
ask me to complete his work while the server running already from a couple
of weeks. I am searching for the less-trouble solution, so I would not want
to compile all zimbra. In my opinion, I have 2 options, try with the redhat
64 bit versions or try with a virtual machine running a ubuntu server, for
example, or some light distro. | 
05-07-2008, 12:08 PM
| | Moderator | | Join Date: Mar 2006 Location: Massachusetts ZCS Version: Release 5.0.6_GA_2313.RHEL4_20080522102400 CentOS4 FOSS edition
Posts: 458
| | Well, maybe I'm missing something, but if you go the virtual machine route aren't you basically going to be starting from scratch? You will have to install the OS, make sure DNS is working properly, and install Zimbra. If this is the case, why not blow away the Fedora 8 install and start from scratch at the server level with some other OS that is supported?
If you decide your only two options are running under a virtual machine or trying to use Zimbra packages not meant for the OS you are working with I would be all means choose the VM path. You are just asking for trouble trying to force the Red Hat packages to work under Fedora 8.
Just for clarification, you do not have to "compile Zimbra", as you state, if you use a supported OS. Just download the appropriate package, extract it somewhere on the server you want to use with Zimbra, and run the install script. | 
05-07-2008, 01:46 PM
| | Member | | Join Date: Apr 2008
Posts: 23
| | Ok, let me explain better.
There is a server running Fedora 8 64 bit kernel. People tell me they would
like to have Zimbra on that server. I have this options: 1) trying to install
the redhat version 2) compile from source archive Zimbra by myself or 3)
build a vm with xen, put a lightweit distro on it for which Zimbra packages
exist. I know I have not to compile it if I download binaries, but
I have to compile it only if I want it running natively on Fedora and redhat packages do not work.
However, split-dns talk about search in the resolv.conf setup.
What I do is simply add the internal lan address before of the router that
act as a dns in a nameserver line. Should I add a 'search' line? | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | |