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-20-2009, 09:01 AM
Banned
 
Posts: 26
Default [SOLVED] DNS ERROR resolving

Hi!

I'm trying to install zimbra but no success so far.

My router is my dns server and it does not recognize my server hostname. how bad is this?

Quote:
Operations logged to /tmp/zmsetup.10202009-164728.log
Installing LDAP configuration database...done.
Setting defaults...hostname: Unknown host
No results returned for A lookup of
Checked nameservers:
192.168.1.1


DNS ERROR resolving
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes]
Reply With Quote
  #2 (permalink)  
Old 10-20-2009, 09:11 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by ruben.rodrigues View Post
Hi!

I'm trying to install zimbra but no success so far.

My router is my dns server and it does not recognize my server hostname. how bad is this?
It's very bad, you need to install a Split DNS.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-26-2009, 11:42 AM
Intermediate Member
 
Posts: 17
Default

i have the same problem, but my server isn't behind a router....... it have a public ip......

how do i resolve this...........????

error2.jpg

Last edited by padial; 10-26-2009 at 11:54 AM..
Reply With Quote
  #4 (permalink)  
Old 10-26-2009, 12:04 PM
Loyal Member
 
Posts: 84
Default

U need fixed dns setup..
Zimbra can't work without FQDN so u must have that qualify domain...

example:
I've domain "dipekso.net"
and i want setup mail server using zimbra so i must have valid MX record that pointing to zimbra mail server, hm..., hostname also needed by zimbra so u must attend it..

Example for my domain record

$ dig -t mx dipekso.net

; <<>> DiG 9.5.1-P2 <<>> -t mx dipekso.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25567
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 6

;; QUESTION SECTION:
;dipekso.net. IN MX

;; ANSWER SECTION:
dipekso.net. 10800 IN MX 20 mail2.dipekso.net.
dipekso.net. 10800 IN MX 10 mail.dipekso.net.

;; AUTHORITY SECTION:
dipekso.net. 112 IN NS ns1.dipekso.net.
dipekso.net. 112 IN NS ns2.dipekso.net.
dipekso.net. 112 IN NS mbahrip.dipekso.net.
dipekso.net. 112 IN NS mbahnyet.dipekso.net.

;; ADDITIONAL SECTION:
mail.dipekso.net. 112 IN A 10.0.100.3
mail2.dipekso.net. 10800 IN A 10.0.100.4
ns2.dipekso.net. 3476 IN A 10.0.100.14
ns1.dipekso.net. 10800 IN A 10.0.100.13

;; Query time: 115 msec

And /etc/hosts
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.0.100.3 mail.dipekso.net mail

If You have valid domain name and dns setup i think the problem was solved...
__________________
Just logs
blog.pnyet.web.id
Reply With Quote
  #5 (permalink)  
Old 10-26-2009, 12:18 PM
Intermediate Member
 
Posts: 17
Default

i think that the problem its in my zone, look at the hosts and zone files.... my hostname is correo
hosts.jpg
zone.jpg

thanks
Reply With Quote
  #6 (permalink)  
Old 10-26-2009, 12:39 PM
Moderator
 
Posts: 1,147
Default

padial you have your MX records set to your name servers ns1 and sn2, and the only other A record for the domain you show is domain.cl

However... your hosts file shows correo.domain.com as the name of the Zimbra server. You should remove the second MX record, and change the first to point to "correo.domain.com." as well as add correo to the list of A records for your domain.
Reply With Quote
  #7 (permalink)  
Old 10-26-2009, 01:15 PM
Intermediate Member
 
Posts: 17
Default

sorry, this is my configuration

hostname: correo
fqdn: correo.example.cl

hostsexample.jpg

examplezone.jpg

i have another zimbra server with the same conf and it worked perfectly

thanks for answer so fast
Reply With Quote
  #8 (permalink)  
Old 10-26-2009, 01:33 PM
Moderator
 
Posts: 1,147
Default

I have no idea how it "worked perfectly" because your DNS is configured wrong. There is still no A record for correo.example.cl, until this exists (and a matching PTR record!) this test WILL fail.
Reply With Quote
  #9 (permalink)  
Old 10-26-2009, 01:42 PM
Intermediate Member
 
Posts: 17
Default

the line that says :

example.cl IN A 200.42.X.Y

doesn't create the A record for correo.example.cl ?
if not, how should i make that record?
Reply With Quote
  #10 (permalink)  
Old 10-26-2009, 04:26 PM
Moderator
 
Posts: 1,147
Default

Actually looking closer... I'm not sure how that is working at all. BIND must be seeing your configuration and transparently fixing this for you. Here is what your configuration should probably look like
Code:
$TTL 604800
@               IN SOA          ns1.example.cl. hostmaster.example.cl. (
                                1       ; serial
                                86400           ; refresh
                                7200            ; retry
                                1209600         ; expiry
                                10800 )         ; minimum

example.cl.     IN NS   ns1.example.cl.
example.cl.     IN MX   0 correo.example.cl.
example.cl.     IN A    200.42.X.Y
www             IN A    200.42.X.Y
ns1             IN A    200.42.X.Y
correo          IN A    200.42.X.Y
Now there are still a few things that could be wrong with the above. In the example you are posting you keep on showing a ns1 and a ns2... but you have them as the same address. This is absolutely pointless. If there really is 2 name servers then add back in that entry.

In your original file you have the master name server set as the domain name, this is wrong and is corrected above. You also have ns1 and ns2 setup as your MX records, again if these are separate servers, and actually are Mail servers (that forward to correo?) then this may be correct, but in the example above I assumed that you want mail delivered directly to correo.

Your original file was also missing a "." at the end of all the "example.cl" which would make BIND expand it to "example.cl.example.cl."

You also had a localhost.example.cl A record in there pointing to 127.0.0.1.... this is absolutely bogus data and will be rejected by any properly configured DNS client.

To add the correo.example.cl record see above. Since you seem to be pointing everything to the same, singular, public IP address I put the same address for it as well.

Remember that your PTR records will also need to be set to show the PTR record for 200.42.X.Y (or whatever the address for correo.example.cl is) pointing to correo.example.cl. This will probably need to be done by your ISP as they are most likely the ones who control the PTR record for your address space.

Also in the future rather then posting a screenshot please use the [ code] [ /code] tags (without the spaces), or click the # symbol at the top after selecting a block of text.
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.