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 09-26-2008, 07:51 AM
Loyal Member
 
Posts: 76
Default [SOLVED] DNS problem: localhost not found

Hi all,

I am so close to getting zimbra working. Just one more obstacle!

I have zimbra natted and the DNS on the firewall doing the natting.

My problem is that zimbra seems to only look at DNS content and never the hosts file which leads to:

Code:
(Host or domain name not found. Name service error for name=localhost type=A: Host not found)
sure enough:
Code:
$ host localhost
localhost.precognet.com does not exist (Authoritative answer)
What can I do to get round this problem... other than installing a DNS server on zimbra? Can zimbra not check the DNS first and then the host file?

Many thanks for your help!
-eco
Reply With Quote
  #2 (permalink)  
Old 09-26-2008, 08:12 AM
Moderator
 
Posts: 883
Default

You may be able to get Zimbra going this way, but personally I think you are fighting a losing battle trying to make Zimbra work without properly configuring DNS. I'd recommend looking at the wiki pages for DNS and Split DNS (which you may need in your case). Also search the forums; there's tons of info on setting up DNS. It's really not that difficult and there are a lot of people willing to help if you run into issues.
Reply With Quote
  #3 (permalink)  
Old 09-26-2008, 08:15 AM
Loyal Member
 
Posts: 76
Default

Kind of expected that... I'll install a DNS on zimbra then but doesn't it seem a tad overkill for a localhost query.

Still, if it's the way to go, that's what I'll do

Thanks for your reply.
-eco
Reply With Quote
  #4 (permalink)  
Old 09-26-2008, 08:44 AM
Moderator
 
Posts: 1,147
Default

Try making sure that your /etc/host.conf file has a line like:
Code:
order hosts,bind
As this tells your system in which order to use resolving services (In this case it uses the hosts file and then bind)

Your /etc/hosts file should also look similar to:
Code:
127.0.0.1       localhost  localhost.localdomain
internal IP server.domain.tld server

Edit:
Looks like you should also check /etc/nsswitch.conf which should have a line like:
Code:
hosts:          files dns

Last edited by ArcaneMagus; 09-26-2008 at 08:47 AM..
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.