Forum Discussion

Angel_Castillo_'s avatar
Angel_Castillo_
Icon for Nimbostratus rankNimbostratus
Feb 10, 2017

Balancer queries DNS of register A of mail server

We try delegate the record type A of mail server to record of subdomain on the GTM:

 

On the hosting of Provider: Zone: mydomain.com mydomain.com MX mail.mydomain.com wip.mydomain.com NS gtm.mydomain.com mail.mydomain.com CNAME mail.wip.mydomain.com gtm.mydomain.com A IP-GTM

 

On the GTM: WideIP: mail.wip.mydomain.com A IP-Server-Exchange

 

But some emails do not arrive or others do, do we need to do something else in this configuration?

 

3 Replies

  • can you please resend your question, because it is difficult to understand it (more dns record are merged into one line). thx.

     

  • Of course: the records are

     

    On the Hosting

     

    Zone is mydomain.com

     

    mydomain.com MX mail.mydomain.com

     

    wip.mydomain.com NS gtm.mydomain.com

     

    mail.mydomain.com CNAME mail.wip.mydomain.com

     

    gtm.mydomain.com A "IP-GTM"

     

    On the GTM

     

    mail.wip.mydomain.com A "IP-Server-Exchange"

     

    According to the following link: https://support.f5.com/csp/article/K277

     

    the question is if we are do good delegation of subdomain or if this configuration is only for A register (not to MX)

     

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    I think you have a problem here: "mail.mydomain.com" is a CNAME record, and according to RFC1912 it cannot co-exist with any other record, i.e. it can't be used as an MX record at the same time.

    You could do something like the following instead:

    In zone mydomain.com
    
    mydomain.com                    300     IN       MX    mail.gtmmail.mydomain.com.
    gtmmail.mydomain.com            1800    IN       NS    ns.gtmmail.mydomain.com
    ns.gtmmail.mydomain.com         14400   IN        A    1.1.1.1
    
    
    On the GTM:
    
    In zone gtmmail.mydomain.com
    
    gtmmail.mydomain.com.           1800    IN      SOA    gtmmail.mydomain.com. admin.gtmmail.mydomain.com. 53365 2600 1800 3600000 43200
    ns.gtmmail.mydomain.com.        1800    IN       NS    1.1.1.1
    mail.gtmmail.mydomain.com.      1800    IN    CNAME    mail.wip.gtmmail.mydomain.com
    mail.vip.gtmmail.mydomain.com   1800    IN        A    2.2.2.2
    

    .