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

Thread: DNS Error - none of the MX records resolve to this host

  1. #1
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default DNS Error - none of the MX records resolve to this host

    Hey guys, so I'm having a bit of an issue ironing out this last DNS problem, I have been following the SplitDNS guide word for word but, when trying to install Zimbra it gives the DNS mismatch error and when I try to startup DNSmasq it shows the address already in use.

    # /etc/init.d/dnsmasq restart

    Starting dnsmasq:
    dnsmasq: failed to create listening socket: Address already in use
    [FAILED]
    I am using CentOS 5.7 x32 at the moment doing some testing. ZCS 7.1.4

    Test domain -lulzy.ath.cx

    Dnsmasq config

    Code:
    conf-dir=/etc/dnsmasq.d
    server=8.8.8.8
    server=208.67.222.222
    domain=lulzy.ath.cx
    mx-host=lulzy.ath.cx,mail.lulzy.ath.cx,5
    listen-address=127.0.0.1
    Here is my hosts file

    # cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.0.111 mail.lulzy.ath.cx mail
    My resolv.conf

    # cat /etc/resolv.conf
    ; generated by /sbin/dhclient-script
    search lulzy.ath.cx
    nameserver 127.0.0.1
    My named.conf

    // Default named.conf generated by install of bind-9.2.4-2
    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 8.8.8.8 ; };
    };
    include "/etc/rndc.key";
    // We are the master server for server.example.com
    zone "mail.lulzy.ath.cx" {
    type master;
    file "/var/named/db.mail.lulzy.ath.cx";
    };
    My zone file

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mail.lulzy.ath.cx. hostmaster.mail.lulzy.ath.cx. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.0.111
    mail.lulzy.ath.cx. IN MX 10 mail.lulzy.ath.cx.
    mail.lulzy.ath.cx. IN A 192.168.0.111
    Ignore the formatting errors, its 5:30am, I'm too tired to fix it right now =(

    Where am I going wrong?
    Last edited by Eclipse; 02-08-2012 at 04:35 AM.

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

    Default

    Quote Originally Posted by Eclipse View Post
    Where am I going wrong?
    If you've been reading the Split DNS article you should have read what diagnostic information is required - you're missing some of it. You've also posted configuration information from dnsmasq & BIND and dnsmasq is apparently unable to start so the question is, which DNS server are you using? Please also provide all the information listed in the 'Verify....' section of the Split DNS article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    If you've been reading the Split DNS article you should have read what diagnostic information is required - you're missing some of it. You've also posted configuration information from dnsmasq & BIND and dnsmasq is apparently unable to start so the question is, which DNS server are you using? Please also provide all the information listed in the 'Verify....' section of the Split DNS article.
    Ah, right sorry.

    The DNS forwarder I'm using is 8.8.8.8, the resolv.conf is set to use 127.0.0.1....



    Code:
    # dig lulzy.ath.cx mx
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 <<>> lulzy.ath.cx mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57377
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;lulzy.ath.cx.                  IN      MX
    
    ;; AUTHORITY SECTION:
    ath.cx.                 600     IN      SOA     ns1.dyndns.org. hostmaster.dyndns.org. 2493600098 600 300 604800 600
    
    ;; Query time: 74 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Feb  8 13:58:02 2012
    ;; MSG SIZE  rcvd: 91
    Code:
    # dig lulzy.ath.cx any
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 <<>> lulzy.ath.cx any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17192
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;lulzy.ath.cx.                  IN      ANY
    
    ;; ANSWER SECTION:
    lulzy.ath.cx.           60      IN      A       50.82.204.232
    
    ;; Query time: 81 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Feb  8 13:58:35 2012
    ;; MSG SIZE  rcvd: 46
    Code:
    # host lulzy.ath.cx
    lulzy.ath.cx has address 50.82.204.232
    Code:
    # host mail.lulzy.ath.cx
    mail.lulzy.ath.cx is an alias for lulzy.ath.cx.
    lulzy.ath.cx has address 50.82.204.232
    I think that is all of it.....

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

    Default

    Quote Originally Posted by Eclipse View Post
    I think that is all of it.....
    That isn't all of the information that's asked for in the article, you've missed running some of the commands. The output you've posted so far shows that you have no MX record.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    That isn't all of the information that's asked for in the article, you've missed running some of the commands. The output you've posted so far shows that you have no MX record.

    This is the last thing I can see

    Code:
    # host $(hostname)
    lulzy.ath.cx has address 50.82.204.232
    Isn't there an MX record set in the zone file?

    If I missed something can you please point out what it is....

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

    Default

    Quote Originally Posted by Eclipse View Post
    Isn't there an MX record set in the zone file?
    There appears to be one in the file you've posted but there isn't any response from the DNS server that shows an MX record - that's the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    There appears to be one in the file you've posted but there isn't any response from the DNS server that shows an MX record - that's the problem.
    Ah okay, that's probably just a limitation of dynDNS sub domains, is there any thing I can do for dnsmasq failing?

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

    Default

    Quote Originally Posted by Eclipse View Post
    Ah okay, that's probably just a limitation of dynDNS sub domains,...
    That shouldn't be a problem, I used dynDNS a long time ago for a mail server without problems.

    Quote Originally Posted by Eclipse View Post
    ... is there any thing I can do for dnsmasq failing?
    According to the error message port 53 is already in use, I'm slightly confused here - aren't you using BIND (isn't that what you said the config files were for)?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    That shouldn't be a problem, I used dynDNS a long time ago for a mail server without problems.

    According to the error message port 53 is already in use, I'm slightly confused here - aren't you using BIND (isn't that what you said the config files were for)?
    Well the .ath.cx domains arent real domaines, they are dyndns subdomains that were free to use.

    I can select add MX record to that domain but when I type in the same domain its like it just disappears...

    On the SplitDNS guide, I had assume that you needed dnsmasq along with BIND, is dnsmasq equivalent to BIND then where its not required?

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

    Default

    Quote Originally Posted by Eclipse View Post
    On the SplitDNS guide, I had assume that you needed dnsmasq along with BIND, is dnsmasq equivalent to BIND then where its not required?
    You can only run one DNS server on a server, the dnsmasq configuration is only there as an alternative (some people find it easier to configure).
    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. Daily Report Prob
    By ranjeet_azad in forum Administrators
    Replies: 0
    Last Post: 01-30-2012, 10:03 PM
  2. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 09:10 AM
  3. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  4. DNS Strategies and Best Practices, and a SLES10 Request
    By LMStone in forum Administrators
    Replies: 4
    Last Post: 10-14-2006, 07:51 AM
  5. Install Help Suse 10.1
    By rusty741 in forum Installation
    Replies: 21
    Last Post: 10-02-2006, 01:05 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
  •