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

Thread: DNS Problems

  1. #1
    ctss is offline Member
    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 online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    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
    ctss is offline Member
    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 online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    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
    ctss is offline Member
    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 online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    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.

  7. #7
    ctss is offline Member
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    Got it. I was not aware that I couldn't use simply 'local' as a domain for Zimbra. I've set this up using a real domain name without issue.

    Is 'local' not valid as a domain name? I thought if you were running your own DNS then anything would be valid and hence my original server FQDN of 'zmail8.local' would be valid?

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

    Default

    Quote Originally Posted by ctss View Post
    Is 'local' not valid as a domain name? I thought if you were running your own DNS then anything would be valid and hence my original server FQDN of 'zmail8.local' would be valid?
    I seem not to have explained myself clearly so I'll try again (although this is described in the Split DNS article). The item I've highlighted is not an FQDN, it is a domain name and a Fully Qualified Domain Name consists of a hostname plus a domain name. So, for example, if the following is your configuration:

    hostname = mail
    domain name = zmail8.local

    then you FQDN for the server would be mail.zmail8.local - note the difference to your original hosts file and your DNS records. This is not necessarily causing your problem but you should have these correct before you install the Zimbra software. I'd suggest you correct your DNS and verify that it's correct by running all the commands in the 'Verify ....' section of the Split DNS article then remove your current ZCS install by running './install.sh -u' - that will removes all the software and the /opt/zimbra directory. If you're happy that your change to the hosts file and the DNS records are correct (post them here if you'd like confirmation) you should try the ZCS install again.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    ctss is offline Member
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    I have now changed my DNS to use a real domain name which has worked without an issue and have got further in the installation so far. All I did was replace 'local' with 'mydomain.net' (or my equivalent) throughout the configuration.

    I'm still missing something: if my hostname was 'zmail8' and my domain was 'local', then why wouldn't my FQDN would be 'zmail8.local'

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    Default

    Quote Originally Posted by ctss View Post
    I have now changed my DNS to use a real domain name which has worked without an issue and have got further in the installation so far. All I did was replace 'local' with 'mydomain.net' (or my equivalent) throughout the configuration.

    I'm still missing something: if my hostname was 'zmail8' and my domain was 'local', then why wouldn't my FQDN would be 'zmail8.local'
    For the very simple reason that ".local. isn't a domain name it is a Top Level Domain - I think you need to brush-up on the terminology so we're all using the same terms.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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. 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
  •