[SOLVED] Bind adds domain to the end of MX/CNAME records

Discussion in 'Installation/Configuration' started by stiuvert0007, Jun 7, 2017.

  1. stiuvert0007

    stiuvert0007 New Member

    Distribution: Ubuntu 16.04.02
    ISPConfig version: 3.1.3
    *DNSSEC is enabled
    I have a problem with DNS records (MX and CNAME), when I create a MX record with the value mxa.mailgun.org BIND adds .example.com at the end.
    I describe my problem:
    I create a new MX record with the value:
    mxa.mailgun.org
    And a CNAME record with the values:
    email mailgun.org

    However, when I do a MX Lookup in MXToolbox, the saved value is
    mxa.mailgun.org.example.com

    So I checked the file /etc/bind/pri.example.com
    The Cname and MX records look like this:
    Code:
    email 3600      CNAME        mailgun.org
    @ 3600      MX    10   mxb.mailgun.org
    @ 3600      MX    10   mxa.mailgun.org
    Nonetheless the values in /etc/bind/pri.example.com.signed have the domain name at the end, wich are the records showed by MXToolbox.
    Code:
    3600    MX      10 mxa.mailgun.org.example.com.
    3600    MX      10 mxb.mailgun.org.example.com.
    3600    RRSIG   MX 7 3 3600 (
                                            99999999999999 99999999999999 99999 example.com.
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
                                            999999999999999999999999999999999999
    
    (Records censored) lol
    I´ve tried to edit that file, but I think it´s pointless. I think it´s because of DNSSEC, when I edit the record manually the values don’t coincide with the RRSIG signature, so the changes are ignored.

    What can I do?
    Thanks in advance!
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    use mxa.mailgun.org. instead of mxa.mailgun.org (note the dot)
     
    stiuvert0007 likes this.
  3. stiuvert0007

    stiuvert0007 New Member

    Thank you very much! That solved the problem. I feel more newbie than yesterday lol
    Any recommended lecture for DNS configuration?
    Regards!
     

Share This Page