Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Split Dns setup

  1. #11
    Join Date
    Sep 2012
    Rep Power


    The zone file applies to using bind to make the server a dns server. I have changed to using dnsmasq since bind wasn't successfully implemented by me. I think all the files, i.e. dnsmasq.conf, hosts, resolv.conf are correct but I'm getting the following error message when installing zimbra
    "DNS error resolving MX for  It is suggested that the domain name have an MX record configured in DNS".
    That is why I asked previously if the word mail needed to be the first part of the fqdn.

    My hosts is:

    > cat /etc/hosts   localhost.localdomain localhost mail
    My resolv.conf is:

    > cat /etc/resolv.conf
    My dnsmasq.conf is:

    > cat /etc/dnsmasq.conf

  2. #12
    Join Date
    Mar 2006
    Rep Power


    Sorry, my knowledge of dnsmasq is somewhat limited, so not sure how much I will be able to help at this point. A couple of suggestions though:

    1) You /etc/hosts file still is not right. Go back and look at the Split DNS wiki page. Your file should really only have two lines. The localhost / loopback line, which looks OK in your file, and then one other line which should contain the IP address of your server, followed by the FQDN of the server, and then the host name (unqualified). So, if your server is called "mail" then the line should be " mail"; if the server is called "zimbrahost" then the line should be " zimbrahost". You want one or the other, not both lines in the file. If you are trying to setup aliases or something like that it should be done in the DNS setup, not here.

    2) While your resolv.conf file looks OK to me, you really need to understand how it works. When you have multiple "nameserver" lines it will only go through the progression of servers if, and only if, the servers are not responding at all to DNS requests. So, in your case assuming the DNS service is running on the local system ( all name resolution on this, and any other server that is using this as its DNS server, will be done on this server. That means if the service is running, but not configured properly the name resolution will just fail; it will not drop down to your 2nd or 3rd name-server. It will only go to the next server if the DNS service is not running at all. In the Split DNS scenario, at least to me, it doesn't make any sense to have external IP's in there.

    3) I don't know if you have just altered the "MX record" error that you posted, but it says "", and it seems like you have answered a previous setup question incorrectly or there is some other configuration error on the server. I think you want your email domain to be "" and your DNS server needs to answer the "get MX record for" request properly.

    4) As I said I don't really know dnsmasq that well, but your config file does look similar to what is posted in the wiki. Have you verified that this service is actually running, and if not checked the system log for any relevant errors?

    As Phoenix has already suggested, I would recommend to go back through the Split DNS wiki page and check out the "Verify" section. If you are still having problems post *exactly* the answers you get to each check.

Similar Threads

  1. Split DNS setup problems.
    By xxthegonzxx in forum Installation
    Replies: 1
    Last Post: 11-25-2011, 06:54 AM
  2. ZCA Split-DNS setup with Windows Server DNS
    By yonatan in forum Virtualization
    Replies: 3
    Last Post: 10-16-2010, 03:29 AM
  3. Split-DNS setup possible with the ZCA?
    By yonatan in forum Virtualization
    Replies: 8
    Last Post: 08-24-2010, 11:05 PM
  4. problems with split domain/dns setup
    By xkill911 in forum Administrators
    Replies: 3
    Last Post: 08-12-2009, 08:40 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