Results 1 to 10 of 11

Thread: DNS Problems

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default DNS Problems

    I have successfully installed and am running Zimbra 7.2.2 on Ubuntu 8.04LTS, DNS setup and installation went well.

    I'm now setting up another test box of Zimbra 8.0.3 on Ubuntu 10.04LTS and have a DNS issue which I cannot resolve. I have read, re-read and re-tried the DNS advice about setting things up but cannot get zimbra to resolve correctly during installation.

    When running the setup I get:

    Code:
    DNS ERROR resolving MX for zmail8.local
    It is suggested that the domain name have an MX record configured in DNS
    if I change this to 'local'

    Code:
    Change domain name? [Yes] 
    Create domain: [zmail8.local] local
    
    
    DNS ERROR resolving MX for local
    It is suggested that the domain name have an MX record configured in DNS
    My config is as follows - can anyone see any issues here?

    Code:
    root@zmail8:/# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.178.105 zmail8.local zmail8
    
    # 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
    Code:
    root@zmail8:/# cat /etc/resolv.conf
    search local
    nameserver 192.168.178.105
    Code:
    root@zmail8:/# dig local mx
    
    ; <<>> DiG 9.7.0-P1 <<>> local mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28465
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;local.				IN	MX
    
    ;; ANSWER SECTION:
    local.			1500	IN	MX	10 zmail8.local.
    
    ;; AUTHORITY SECTION:
    local.			1500	IN	NS	zmail8.local.
    
    ;; ADDITIONAL SECTION:
    zmail8.local.		1500	IN	A	192.168.178.105
    Code:
    root@zmail8:/# dig local any
    
    ; <<>> DiG 9.7.0-P1 <<>> local any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9260
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;local.				IN	ANY
    
    ;; ANSWER SECTION:
    local.			1500	IN	SOA	zmail8.local. root.local. 2007062704 28800 3600 604800 38400
    local.			1500	IN	NS	zmail8.local.
    local.			1500	IN	MX	10 zmail8.local.
    
    ;; ADDITIONAL SECTION:
    zmail8.local.		1500	IN	A	192.168.178.105
    Code:
    root@zmail8:/# host `hostname`
    zmail8.local has address 192.168.178.105
    Many thanks in advance.

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

    Default

    Your hosts file is incorrect as is the format (and content) of your DNS A & MX records, go to the Split DNS article and read what the format of those records should be.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    I cannot see what is wrong with any of my configuration, and in addition have now tried with using dnsmasq as described on the splitdns page with the same result.

    I have a 7.2.2 installation on Ubuntu 8.04 working fine with these settings (using bind9).

    Is there any chance you could point out what is wrong as I am really struggling to see it? Isn't the output from dig correct if my server is zmail8.local?

    Many thanks.

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

    Default

    Compare the lines in the hosts file (and the DNS records) with the examples (and the descriptions) in the Split DNS article - they are not the same. You are using your domain name for everything (hosts & DNS records) when you should be using the FQDN of your server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    I'm looking and I don't see the problem. My domain is simply 'local' and the FQDN of the Zimbra server is 'zmail8.local'.

    The example hosts file contains:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.30    mail.yourdomain.com mail
    whereas mine contains:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.178.105 zmail8.local zmail8
    I don't see the difference? Is 'local' not an acceptable name for a domain?

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

    Default

    Quote Originally Posted by ctss View Post
    I'm looking and I don't see the problem. My domain is simply 'local' and the FQDN of the Zimbra server is 'zmail8.local'.
    That is your problem, that is not an FQDN of a server it is a domain name.

    Quote Originally Posted by ctss View Post
    The example hosts file contains:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.30    mail.yourdomain.com mail
    whereas mine contains:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.178.105 zmail8.local zmail8
    I don't see the difference? Is 'local' not an acceptable name for a domain?
    The two highlighted lines are not the same, in my previous post I pointed out that you were using the domain name and not an FQDN in the hosts and DNS records.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. TLS Problems
    By Sam159 in forum Administrators
    Replies: 6
    Last Post: 03-13-2012, 12:03 AM
  2. problems problems problems
    By maceee in forum Installation
    Replies: 1
    Last Post: 06-28-2010, 04:19 AM
  3. Various Problems
    By micksmith0901 in forum Zimbra Connector for BlackBerry
    Replies: 3
    Last Post: 08-07-2009, 05:26 PM
  4. Some problems
    By druid in forum Installation
    Replies: 5
    Last Post: 08-31-2007, 12:31 PM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 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
  •