Results 1 to 10 of 10

Thread: [SOLVED] not able to resolve DNS

  1. #1
    Arunannamalai is offline Junior Member
    Join Date
    Nov 2008
    Location
    chennai
    Posts
    5
    Rep Power
    6

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Arunannamalai is offline Junior Member
    Join Date
    Nov 2008
    Location
    chennai
    Posts
    5
    Rep Power
    6

    Cool

    i have already set the SPLIT DNS, I am able to send mail to external domains but not internal

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Arunannamalai is offline Junior Member
    Join Date
    Nov 2008
    Location
    chennai
    Posts
    5
    Rep Power
    6

    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 08:30 AM.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Arunannamalai is offline Junior Member
    Join Date
    Nov 2008
    Location
    chennai
    Posts
    5
    Rep Power
    6

    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.

  9. #9
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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.

  10. #10
    Arunannamalai is offline Junior Member
    Join Date
    Nov 2008
    Location
    chennai
    Posts
    5
    Rep Power
    6

    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 01:30 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] DNS won't resolve localhost
    By ecobrazim in forum Installation
    Replies: 9
    Last Post: 09-28-2008, 09:31 AM
  2. DNS ERROR resolving MX for mail.domain.com
    By csoliss in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 08:32 AM
  3. DNS in a nutshell part two (For dummies)
    By daimer77 in forum Installation
    Replies: 4
    Last Post: 12-18-2006, 06:28 PM
  4. DNS Strategies and Best Practices, and a SLES10 Request
    By LMStone in forum Administrators
    Replies: 4
    Last Post: 10-14-2006, 07:51 AM
  5. Install Help Suse 10.1
    By rusty741 in forum Installation
    Replies: 21
    Last Post: 10-02-2006, 01:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •