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 10-11-2009, 11:58 PM
Active Member
 
Posts: 34
Default [SOLVED] CLOSE to completing install but stuck on DNS. Read everything getting nowhe

Hi there.

I want to impress my friends with what zimbra can do. I am close to getting it resolved I think. The install gets stuck on the mx record as it goes to internet for that and resolves mail.xyz.com but doesnt "resolve to this host." I totally forgot how I got it to resolve properly the last time. Any help?

Ubuntu 8.04
zimbra 5.0.19
Reply With Quote
  #2 (permalink)  
Old 10-12-2009, 12:07 AM
Active Member
 
Posts: 34
Default

Here are my files:
root@server1:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.21.24 server1.xyz.net server1
192.168.21.24 mail.xyz.net mail

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
root@server1:~# cat resolv.conf
cat: resolv.conf: No such file or directory
root@server1:~# cat /etc/resolv.conf
search xyz.net
nameserver 192.168.21.24
root@server1:~#
root@server1:~# dig mail.xyz.net any

; <<>> DiG 9.4.2-P2 <<>> mail.xyz.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35353
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;mail.xyz.net. IN ANY

;; ANSWER SECTION:
mail.xyz.net. 2851 IN A xx.xxx.xx.xx (resolves to external IP)

;; AUTHORITY SECTION:
xyz.net. 2851 IN NS ns30.domaincontrol.com.
xyz.net. 2851 IN NS ns29.domaincontrol.com.

;; ADDITIONAL SECTION:
ns29.domaincontrol.com. 172020 IN A 216.69.185.15
ns30.domaincontrol.com. 172020 IN A 208.109.255.15

;; Query time: 1 msec
;; SERVER: 192.168.21.24#53(192.168.21.24)
;; WHEN: Mon Oct 12 02:03:01 2009
;; MSG SIZE rcvd: 138

root@server1:~#
root@server1:~# dig mail.xyz.net mx

; <<>> DiG 9.4.2-P2 <<>> mail.xyz.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5058
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.xyz.net. IN MX

;; AUTHORITY SECTION:
xyz.net. 10021 IN SOA ns29.domaincontrol.com. dns.jomax.net. 2009100800 28800 7200 604800 86400

;; Query time: 1 msec
;; SERVER: 192.168.21.24#53(192.168.21.24)
;; WHEN: Mon Oct 12 02:03:31 2009
;; MSG SIZE rcvd: 103

root@server1:~#
Reply With Quote
  #3 (permalink)  
Old 10-12-2009, 12:14 AM
Moderator
 
Posts: 7,911
Default

First of all your hosts file is incorrect as it should be
Code:
127.0.0.1 localhost.localdomain localhost
192.168.21.24 mail.xyz.net mail
Secondly, as you are on a private IP address have you setup a Wiki :: Split DNS architecture ?
__________________
Reply With Quote
  #4 (permalink)  
Old 10-12-2009, 05:03 AM
Active Member
 
Posts: 25
Default

Hi,

You can easily create a local DNS by using Webmin tool.

The below url will guide you the entire process.

Setting up DNS using Webmin - Dev Shed

Regards,
Mohan. U
Reply With Quote
  #5 (permalink)  
Old 10-12-2009, 03:10 PM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by uxbod View Post
First of all your hosts file is incorrect as it should be
Code:
127.0.0.1 localhost.localdomain localhost
192.168.21.24 mail.xyz.net mail
Secondly, as you are on a private IP address have you setup a Wiki :: Split DNS architecture ?
Thanks for the reply uxbod and fnetmohan! I tried split DNS but I must suck at it bc I cant get it to work. I was hoping by posting my output it might help. I will try your 1st suggestion. Last time someone named phoenix was a great benefit. I tried to get some help from him but he must be busy for now.

Basically, the install is finding my mx record on the net with the public IP and wining about it. I tried the split but must have something wrong and I dont know what. I reinstalled the entire machine from my last thread as it was hosed. I marked it solved so I would not have 2 threads.
Reply With Quote
  #6 (permalink)  
Old 10-12-2009, 05:18 PM
Active Member
 
Posts: 34
Default

Ok,I am trying the webmin. I tried adding the A record for my mail server and its failing saying "NDC command failed : rndc: 'reload' failed: empty label." I have no idea what that is supossed to mean OR how to fix it.

$ttl 38400
xyz.net. IN SOA mail. admin..xyz.net. (
1255388564
10800
3600
604800
38400 )
xyz.net. IN NS mail.
mail.xyz.net. IN MX 10 mail
mail IN A 192.168.21.24

When I click to apply changes it says..
"NDC command failed : rndc: 'reload' failed: empty label"

Last edited by Linuxwho?; 10-12-2009 at 05:43 PM..
Reply With Quote
  #7 (permalink)  
Old 10-12-2009, 06:11 PM
Active Member
 
Posts: 34
Default

About to give up and find another app. The install simply refuses to find the hostname or mx record when it resolves fine using the os commands...Anyone?
Reply With Quote
  #8 (permalink)  
Old 10-13-2009, 01:58 AM
Zimbra Consultant & Moderator
 
Posts: 19,655
Default

You may want to check the following for the RNDC problem you've posted above: Ubuntu 9.04 rndc Fix on Bind9 | BeginLinux - this is a BIND configuration problem.

Is there any particular reason you're using Ubuntu? If not I'd suggest you install CentOS to run Zimbra, I find that more usable than Ubuntu.

I've asked you this in another thread but can you post the output of the following:

Code:
cat /etc/nsswitch.conf
host `hostname`
Is mdns enabled on this server?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 10-13-2009, 02:18 PM
Outstanding Member
 
Posts: 684
Default

Quote:
Originally Posted by Linuxwho? View Post
Ok,I am trying the webmin. I tried adding the A record for my mail server and its failing saying "NDC command failed : rndc: 'reload' failed: empty label." I have no idea what that is supossed to mean OR how to fix it.

$ttl 38400
xyz.net. IN SOA mail. admin..xyz.net. (
1255388564
10800
3600
604800
38400 )
xyz.net. IN NS mail.
mail.xyz.net. IN MX 10 mail
mail IN A 192.168.21.24

When I click to apply changes it says..
"NDC command failed : rndc: 'reload' failed: empty label"
Your NS record - mail. indicates mail is the FQDN because of the period. Make it the FQDN of the server. (mail.xyz.net)

Your MX record - on the left side should be the domain name (xyz.net) and not the FQDN. Then put the FQDN of the server on the right side.
Reply With Quote
  #10 (permalink)  
Old 10-13-2009, 02:48 PM
Moderator
 
Posts: 7,911
Default

You also have a double dot (..) in the admin element of the SOA. Remember if the hosts are actually part of the zone then you do not need to FQDN them as it is inferred from the zone. If you do specify a FQDN always ensure you end the name with a dot otherwise BIND will append the zone name.
__________________
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.