Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Thread: [SOLVED] DNS problem?

  1. #1
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default [SOLVED] DNS problem?

    Hi everybody!
    I have one opensuse 11 server(IP: 200.40.171.98), providing ip masquerading to other users with iptables.
    In another box(IP: 192.168.1.7) I have installed Opensuse 10.3 to provide mail via Zimbra.
    I have tried several configurations of MX records, resolv.conf, etc. but I still have this issue:
    (in mxlookup.com)
    An existing connection was forcibly closed by the remote host
    200.40.171.98:25

    I have opened this port already.
    Any help will be appreciated.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Please post the following information so we are able to check your DNS setup for you
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  3. #3
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default Outputs

    Hi
    here are the outputs you request:
    cat /etc/hosts
    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    127.0.0.2 suselinux11.susesanjuan suselinux11
    192.168.1.1 Suse Suse
    200.40.171.98 Bienvenida Colegio San Juan Bautista.
    192.168.1.7 correo.sanjuan.edu.uy correo


    cat /etc/resolv.conf
    ### BEGIN INFO
    #
    #
    ### END INFO
    #
    domain sanjuan.edu.uy
    nameserver 200.40.171.98
    nameserver 200.40.30.245
    nameserver 200.40.220.245
    search susesanjuan correo.sanjuan.edu.uy

    dig yourdomain mx

    ; <<>> DiG 9.4.2 <<>> sanjuan.edu.uy mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36367
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;sanjuan.edu.uy. IN MX

    ;; AUTHORITY SECTION:
    sanjuan.edu.uy. 86400 IN SOA ns.sanjuan.edu.uy. javierfil.gmail.com. 9 10800 900 604800 86400

    ;; Query time: 1 msec
    ;; SERVER: 200.40.171.98#53(200.40.171.98)
    ;; WHEN: Tue Mar 24 10:27:21 2009
    ;; MSG SIZE rcvd: 90

    dig yourdomain any

    ; <<>> DiG 9.4.2 <<>> sanjuan.edu.uy any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5867
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 4

    ;; QUESTION SECTION:
    ;sanjuan.edu.uy. IN ANY

    ;; ANSWER SECTION:
    sanjuan.edu.uy. 259200 IN SOA ns.sanjuan.edu.uy. javierfil.gmail.com. 9 10800 900 604800 86400
    sanjuan.edu.uy. 259200 IN NS ns.sanjuan.edu.uy.
    sanjuan.edu.uy. 259200 IN NS ns1.us.editdns.net.
    sanjuan.edu.uy. 259200 IN NS ns3.us.editdns.net.
    sanjuan.edu.uy. 259200 IN NS ns2.us.editdns.net.

    ;; ADDITIONAL SECTION:
    ns.sanjuan.edu.uy. 259200 IN A 200.40.171.98
    ns1.us.editdns.net. 102575 IN A 74.52.212.235
    ns2.us.editdns.net. 102575 IN A 72.249.105.234
    ns3.us.editdns.net. 102575 IN A 64.251.10.77

    ;; Query time: 8 msec
    ;; SERVER: 200.40.171.98#53(200.40.171.98)
    ;; WHEN: Tue Mar 24 10:27:30 2009
    ;; MSG SIZE rcvd: 236

    host `hostname`
    Host suselinux11 not found: 3(NXDOMAIN)

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Okay, as your server is on a private LAN you will need to setup a Wiki :: Split DNS architecture. You also need to fix your /etc/hosts file as that is wrong aswell. Please read through the documentation again on how these files should be configured :- Zimbra :: Community Edition Single Server Install

  5. #5
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default Wrong output

    Our /etc/hosts output was wrong!
    This is the real one:

    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allroutersOur /etc/hosts output wa wrong!
    This is the real one:

    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    127.0.0.2 suselinux11.susesanjuan suselinux11
    192.168.1.1 Suse Suse
    200.40.171.98 Bienvenida Colegio San Juan Bautista.
    192.168.1.7 correo.sanjuan.edu.uy correo


    Is thi wrong too?
    ff02::3 ipv6-allhosts
    127.0.0.2 suselinux11.susesanjuan suselinux11
    192.168.1.1 Suse Suse
    200.40.171.98 Bienvenida Colegio San Juan Bautista.
    192.168.1.7 correo.sanjuan.edu.uy correo


    Is thi wrong too?

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    You cannot have something like this in your hosts file
    Code:
    200.40.171.98 http://www.sanjuan.edu.uy/

  7. #7
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    In my /etc/hosts file it reads:
    200.40.171.98 Bienvenida Colegio San Juan Bautista.
    with that, when I check our site with mxtoolbox, I get

    ns1.us.editdns.net reports the following MX records for sanjuan.edu.uy
    Preference 10
    Host Name: correo.sanjuan.edu.uy
    IP address: 200.40.171.98
    TTL: 86400

    This line in particular seems to be working.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Your hosts file should contain only the following:

    Code:
    127.0.0.1 localhost.localdomain localhost
    200.40.171.98 correo.sanjuan.edu.uy correo
    fix that and then post the output of the commands you were asked for earlier:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    Please enclose the output of each command in 'quotes' to make it easier to read, hightlight a piece of text the hit the quote button (the # symbol) above the text edit box.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by masterguido View Post
    Hi everybody!
    I have one opensuse 11 server(IP: 200.40.171.98), providing ip masquerading to other users with iptables.
    In another box(IP: 192.168.1.7) I have installed Opensuse 10.3 to provide mail via Zimbra.
    I have tried several configurations of MX records, resolv.conf, etc. but I still have this issue:
    (in mxlookup.com)
    An existing connection was forcibly closed by the remote host
    200.40.171.98:25

    I have opened this port already.
    Any help will be appreciated.
    Actually, reading this post your DNS is wrong. You need a Split DNS set-up to point to the LAN IP of your Zimbra server and you should also modify the hosts file to have this IP address as well. Your hosts file should actually look like this:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.7 correo.sanjuan.edu.uy correo
    When you have fixed the hosts file and the DNS please run the commands I mentioned in the post above and post the output.

    BTW, I'd suggest you don't use openSUSE for the Zimbra server as it will not be supported after the current 5.x Zimbra release.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    Join Date
    Mar 2009
    Posts
    31
    Rep Power
    6

    Default

    I have read the split DNS article, but I still have doubts:
    my internet server and web server has IP 200.40.171.98
    The other box(mail server) has IP 192.168.1.7
    The external DNS resolver is editdns.net:
    Maybe this image explains better my situation:
    [IMG]d:\dns.jpg[/IMG]

    Thanks a lot.

Similar Threads

  1. Reverse DNS lookups with multiple Domain hosting.
    By carpicker in forum Installation
    Replies: 0
    Last Post: 04-23-2008, 12:14 PM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 06:07 PM
  3. DNS: Setup for Hosted Server to remote Server
    By jparker3119 in forum Installation
    Replies: 7
    Last Post: 09-27-2007, 07:34 PM
  4. ZCS ROCKS! Need some DNS help!
    By SiteDiscovery in forum Administrators
    Replies: 9
    Last Post: 12-30-2006, 09:50 PM
  5. problem abt FQDN. help plz
    By manjunath in forum Installation
    Replies: 2
    Last Post: 04-11-2006, 06:54 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
  •