No MX on domain (but there is!)

Discussion in 'Installation/Configuration' started by IntnsRed, Jul 14, 2006.

  1. IntnsRed

    IntnsRed ISPConfig Developer ISPConfig Developer

    I've searched for this but I can't find an issue that answers my problem, so I thought I'd ask you all for some help.

    The problem

    The issue is that DNS checking sites like DNS Report (the link will report things are fine now because I have a hand-created file in there temporarily) says that my Golgotha.net domain does not have any MX entry.

    But I disagree! That domain not only has one MX, but also a backup SMTP entry. If it were only dnsreport.com I wouldn't mind, but another DNS checker reports the same error. A "dig" for type MX also turns up nothing.

    What I've done

    I created the domain and the MX records with ISPConfig -- the software saving me from ever having to touch a BIND config file is one of its greatest features!

    Mail seems to work. I can send and receive mail on that domain okay.

    Data to consider

    Excerpt from /etc/bind/pri.golgotha.net that ISPConfig created:

    Code:
    $TTL        86400
    @       IN      SOA     ns1.golgotha.net. webmaster.golgotha.net. (
                            2006071302       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
                    NS      ns1.golgotha.net.              ; Inet Address of name server 1
                    NS      ns2.golgotha.net.              ; Inet Address of name server 2
    ;
    
    mail  MX      10 mail.golgotha.net.
    mail2  MX      20 smtp2.easydns.com.
    
    ( --snip-- Further below: )
    golgotha.net.      A        88.198.36.74
    ( --snip-- )
    ns1       A       88.198.36.74
    ns2       A       216.220.40.243
    mail       A       88.198.36.74
    ( --snip-- )
    
    Now, from the working one I copied and hand edited:

    Code:
    @       IN      SOA     ns1.golgotha.net.      webmaster.golgotha.net. (
                            2006071400      ; serial number YYMMDDNN
                            28800           ; Refresh
                            7200            ; Retry
                            864000          ; Expire
                            86400           ; Min TTL
                            )
    
                    NS      ns1.golgotha.net.
                    NS      ns2.golgotha.net.
    
                    MX      10 mail.golgotha.net.
                    MX      20 smtp2.easydns.com.
    
    $ORIGIN golgotha.net.
    
    ns1     IN      A       88.198.36.74
    ns2     IN      A       216.220.40.24
    mail    IN      A       88.198.36.74
    www     IN      A       88.198.36.74
    
    Why the difference in the MX layout? Anyone have any clues? Whacks with a clue-bat would be appreciated; TIA.
     
    Last edited: Jul 14, 2006
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    the difference is mail / mail2

    normally you would have to enter zone.tld. MX 10 whatyoudeside.zone.zld.

    In case of that shortended notation the @ replaces the zone for which that file is.

    So mail MX 10 whatyoudeside.zone.tld. adds an mx to mail.zone.tld. But what you want is an MX pointing to zone.tld.

    hth Ben
     
  3. IntnsRed

    IntnsRed ISPConfig Developer ISPConfig Developer

    Thanks Ben!

    So just to make sure I've got this straight, when creating the MX, ISPConfig has a field for for the "Mailserver:", and there one should normally put the 2-level domain name, such as "example.com".

    Duhh! Seems simple enough. I think the term "mailserver" was causing me to think "host and domain name". Thanks again.
    ________
    Mercedes-Benz M114 Engine Specifications
     
    Last edited: Mar 4, 2011
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page