Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] CLOSE to completing install but stuck on DNS. Read everything getting nowhe

  1. #1
    Linuxwho is offline Active Member
    Join Date
    Apr 2009
    Posts
    34
    Rep Power
    6

    Default [SOLVED] CLOSE to completing install but stuck on DNS. Read everything getting nowhe

    Hi there.

    I want to impress my friends with what zimbra can do. I am close to getting it resolved I think. The install gets stuck on the mx record as it goes to internet for that and resolves mail.xyz.com but doesnt "resolve to this host." I totally forgot how I got it to resolve properly the last time. Any help?

    Ubuntu 8.04
    zimbra 5.0.19

  2. #2
    Linuxwho is offline Active Member
    Join Date
    Apr 2009
    Posts
    34
    Rep Power
    6

    Default

    Here are my files:
    root@server1:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.21.24 server1.xyz.net server1
    192.168.21.24 mail.xyz.net mail

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    root@server1:~# cat resolv.conf
    cat: resolv.conf: No such file or directory
    root@server1:~# cat /etc/resolv.conf
    search xyz.net
    nameserver 192.168.21.24
    root@server1:~#
    root@server1:~# dig mail.xyz.net any

    ; <<>> DiG 9.4.2-P2 <<>> mail.xyz.net any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35353
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;mail.xyz.net. IN ANY

    ;; ANSWER SECTION:
    mail.xyz.net. 2851 IN A xx.xxx.xx.xx (resolves to external IP)

    ;; AUTHORITY SECTION:
    xyz.net. 2851 IN NS ns30.domaincontrol.com.
    xyz.net. 2851 IN NS ns29.domaincontrol.com.

    ;; ADDITIONAL SECTION:
    ns29.domaincontrol.com. 172020 IN A 216.69.185.15
    ns30.domaincontrol.com. 172020 IN A 208.109.255.15

    ;; Query time: 1 msec
    ;; SERVER: 192.168.21.24#53(192.168.21.24)
    ;; WHEN: Mon Oct 12 02:03:01 2009
    ;; MSG SIZE rcvd: 138

    root@server1:~#
    root@server1:~# dig mail.xyz.net mx

    ; <<>> DiG 9.4.2-P2 <<>> mail.xyz.net mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5058
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.xyz.net. IN MX

    ;; AUTHORITY SECTION:
    xyz.net. 10021 IN SOA ns29.domaincontrol.com. dns.jomax.net. 2009100800 28800 7200 604800 86400

    ;; Query time: 1 msec
    ;; SERVER: 192.168.21.24#53(192.168.21.24)
    ;; WHEN: Mon Oct 12 02:03:31 2009
    ;; MSG SIZE rcvd: 103

    root@server1:~#

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    First of all your hosts file is incorrect as it should be
    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.21.24 mail.xyz.net mail
    Secondly, as you are on a private IP address have you setup a Wiki :: Split DNS architecture ?

  4. #4
    fnetmohan is offline Active Member
    Join Date
    Apr 2008
    Location
    Chennai
    Posts
    25
    Rep Power
    7

    Default

    Hi,

    You can easily create a local DNS by using Webmin tool.

    The below url will guide you the entire process.

    Setting up DNS using Webmin - Dev Shed

    Regards,
    Mohan. U

  5. #5
    Linuxwho is offline Active Member
    Join Date
    Apr 2009
    Posts
    34
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    First of all your hosts file is incorrect as it should be
    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.21.24 mail.xyz.net mail
    Secondly, as you are on a private IP address have you setup a Wiki :: Split DNS architecture ?
    Thanks for the reply uxbod and fnetmohan! I tried split DNS but I must suck at it bc I cant get it to work. I was hoping by posting my output it might help. I will try your 1st suggestion. Last time someone named phoenix was a great benefit. I tried to get some help from him but he must be busy for now.

    Basically, the install is finding my mx record on the net with the public IP and wining about it. I tried the split but must have something wrong and I dont know what. I reinstalled the entire machine from my last thread as it was hosed. I marked it solved so I would not have 2 threads.

  6. #6
    Linuxwho is offline Active Member
    Join Date
    Apr 2009
    Posts
    34
    Rep Power
    6

    Default

    Ok,I am trying the webmin. I tried adding the A record for my mail server and its failing saying "NDC command failed : rndc: 'reload' failed: empty label." I have no idea what that is supossed to mean OR how to fix it.

    $ttl 38400
    xyz.net. IN SOA mail. admin..xyz.net. (
    1255388564
    10800
    3600
    604800
    38400 )
    xyz.net. IN NS mail.
    mail.xyz.net. IN MX 10 mail
    mail IN A 192.168.21.24

    When I click to apply changes it says..
    "NDC command failed : rndc: 'reload' failed: empty label"
    Last edited by Linuxwho; 10-12-2009 at 04:43 PM.

  7. #7
    Linuxwho is offline Active Member
    Join Date
    Apr 2009
    Posts
    34
    Rep Power
    6

    Default

    About to give up and find another app. The install simply refuses to find the hostname or mx record when it resolves fine using the os commands...Anyone?

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,502
    Rep Power
    57

    Default

    You may want to check the following for the RNDC problem you've posted above: Ubuntu 9.04 rndc Fix on Bind9 | BeginLinux - this is a BIND configuration problem.

    Is there any particular reason you're using Ubuntu? If not I'd suggest you install CentOS to run Zimbra, I find that more usable than Ubuntu.

    I've asked you this in another thread but can you post the output of the following:

    Code:
    cat /etc/nsswitch.conf
    host `hostname`
    Is mdns enabled on this server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    Quote Originally Posted by Linuxwho? View Post
    Ok,I am trying the webmin. I tried adding the A record for my mail server and its failing saying "NDC command failed : rndc: 'reload' failed: empty label." I have no idea what that is supossed to mean OR how to fix it.

    $ttl 38400
    xyz.net. IN SOA mail. admin..xyz.net. (
    1255388564
    10800
    3600
    604800
    38400 )
    xyz.net. IN NS mail.
    mail.xyz.net. IN MX 10 mail
    mail IN A 192.168.21.24

    When I click to apply changes it says..
    "NDC command failed : rndc: 'reload' failed: empty label"
    Your NS record - mail. indicates mail is the FQDN because of the period. Make it the FQDN of the server. (mail.xyz.net)

    Your MX record - on the left side should be the domain name (xyz.net) and not the FQDN. Then put the FQDN of the server on the right side.

  10. #10
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    You also have a double dot (..) in the admin element of the SOA. Remember if the hosts are actually part of the zone then you do not need to FQDN them as it is inferred from the zone. If you do specify a FQDN always ensure you end the name with a dot otherwise BIND will append the zone name.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 11:14 AM
  2. Replies: 32
    Last Post: 06-17-2010, 11:47 PM
  3. Install problem with split DNS on private network
    By vargadanis in forum Installation
    Replies: 0
    Last Post: 07-24-2008, 08:38 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
  •