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 11-18-2008, 04:57 AM
Junior Member
 
Posts: 5
Cool [SOLVED] not able to resolve DNS

installed ZCS on FC7.
while installation it showed DNS ERROR, which I skipped and installed.
the internal mail server and external mail server setup with ISP (with static IP) and a different mail hosting company holding the external mailbox.

how should the DNS be config
Reply With Quote
  #2 (permalink)  
Old 11-18-2008, 05:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by Arunannamalai View Post
while installation it showed DNS ERROR, which I skipped and installed.
That was a mistake. If you are behind a router you'll need a Split DNS set-up. I'd also suggest you read the Documentation and installation requirements before going any further.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-18-2008, 06:50 AM
Junior Member
 
Posts: 5
Cool

i have already set the SPLIT DNS, I am able to send mail to external domains but not internal
Reply With Quote
  #4 (permalink)  
Old 11-18-2008, 06:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Run the following commands on the Zimbra server:

Code:
host `hostname`  <-- use backticks not single quotes
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com any
dig yourdomain.com mx
and post the output to this thread. To make the output readable, please put 'code' around the output of each command by highlighting the text and hitting the 'code' button (the # symbol) above.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-18-2008, 07:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by Arunannamalai View Post
i have already set the SPLIT DNS, I am able to send mail to external domains but not internal
It might have helped if you'd said that in your first post, please give a full description of the problem when posting and include your operating system and update your forum profile with the output of the following command:

Code:
zmcontrol -v
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 11-18-2008, 07:16 AM
Junior Member
 
Posts: 5
Cool

zmcontrol -v
'code'
Release 5.0.10_GA_2638.F7_20081003060853 F7 FOSS edition

host `hostname` <-- use backticks not single quotes
'code'
Host zimbra not found: 3(NXDOMAIN)

cat /etc/hosts
'code'
192.168.0.190 zimbra.superautoforge.net zimbra
::1 localhost6.localdomain6 localhost6

cat /etc/resolv.conf
'code'
nameserver 192.168.0.190
nameserver 203.145.184.32


dig yourdomain.com any
'code'
;; ANSWER SECTION:
superautoforge.net. 71603 IN NS ns19.s2h.net.
superautoforge.net. 71603 IN NS ns18.s2h.net.

;; AUTHORITY SECTION:
superautoforge.net. 71603 IN NS ns18.s2h.net.
superautoforge.net. 71603 IN NS ns19.s2h.net.

;; ADDITIONAL SECTION:
ns18.s2h.net. 74687 IN A 202.54.158.135
ns19.s2h.net. 74687 IN A 202.54.158.136

;; Query time: 14 msec
;; SERVER: 203.145.184.32#53(203.145.184.32)
;; WHEN: Wed Nov 19 02:14:47 2008
;; MSG SIZE rcvd: 138


dig yourdomain.com mx
'code'
;; ANSWER SECTION:
superautoforge.net. 84017 IN MX 10 mail.superautoforge.net.

;; AUTHORITY SECTION:
superautoforge.net. 78770 IN NS ns18.s2h.net.
superautoforge.net. 78770 IN NS ns19.s2h.net.

;; ADDITIONAL SECTION:
mail.superautoforge.net. 84017 IN A 202.54.158.135
ns19.s2h.net. 135382 IN A 202.54.158.136
ns18.s2h.net. 45836 IN A 202.54.158.135

;; Query time: 36 msec
;; SERVER: 203.145.184.32#53(203.145.184.32)
;; WHEN: Wed Nov 19 02:15:27 2008
;; MSG SIZE rcvd: 147

Last edited by Arunannamalai; 11-18-2008 at 07:30 AM..
Reply With Quote
  #7 (permalink)  
Old 11-18-2008, 07:26 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I asked you to post the zimbra version in your forum profile, please update that here: Zimbra - Forums - View Profile: Arunannamalai

Your DNS is set-up incorrectly, first read the Quick Start Installation Guide on what you need to do for the /etc/hosts file. You would appear to have no A record for the server in your local DNS server, in fact your responses to the dig command seem to be answered by an external DNS server. You shouldn't need the following in your resolv.conf:

Code:
nameserver 203.145.184.32
BTW, I also asked you to format the output, the above statement is what it should look like and it's extremely difficult to follow the output as you've posted it.

FIx your local DNS server as per the Split DNS article and run the test again to check the configuration.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 11-18-2008, 07:52 AM
Junior Member
 
Posts: 5
Cool

if i remove my secondary DNS ip '203.145.184.32' means internet get disconnected ,It is
the nameserver of my ISP configured on a firewall.
Reply With Quote
  #9 (permalink)  
Old 11-18-2008, 11:23 AM
Moderator
 
Posts: 883
Default

If you have Split DNS setup properly you don't need your ISP's DNS server in the resolv.conf. The internal DNS server should resolve all addresses for your internal domain, and forward all other requests to your ISP's DNS server.
Reply With Quote
  #10 (permalink)  
Old 11-20-2008, 03:57 PM
Junior Member
 
Posts: 5
Default

SPLIT DNS for internal and external has been now set and we are now able to send and receive mails internally, but for the external mail i get "connection time out for certain domains like hotmail/yahoo on port 25 and works perfectly for some domains like mondialsoft.com

Code: - failed message
Code:
Nov 21 04:36:26 zimbra postfix/smtp[11777]: connect to hotmail.com[64.4.32.7]: Connection timed out (port 25)
Nov 21 04:36:56 zimbra postfix/smtp[11777]: connect to hotmail.com[64.4.33.7]: Connection timed out (port 25)
Nov 21 04:36:56 zimbra postfix/smtp[11777]: C5C3F22384C7: to=sheikh1975@hotmail.com, relay=none, delay=60, delays=0.01/0.02/60/0, dsn=4.4.1, status=deferred (connect to hotmail.com[64.4.33.7]: Connection timed out)
Code: - sent message to external
Code:
to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.92, delays=0.03/0.01/0.2/0.68, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 85A802238481)
Nov 20 16:16:35 zimbra postfix/qmgr[10002]: A10C9223847B: removed
Nov 20 16:16:37 zimbra postfix/smtp[17297]: 85A802238481: to=arun@mondialsoft.com, relay=mondialsoft.com[208.101.26.224]:25, delay=2.4, delays=0.01/0.01/1.7/0.61, dsn=2.0.0, status=sent (250 OK id=1L36yW-0000pE-Ap)

Last edited by Arunannamalai; 11-21-2008 at 12:30 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.