#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    1
    Rep Power
    0

    MX or an A record


    Dear all,

    I get a bit confused by conflicting information between my boss and between my teacher. I hope somebody can give me a good argument why to use the one over the other:

    Imagine we have the following network setup. In a network there are 2 mailservers with each a different IP address. Each mailserver has also a DNS server with the same IP as the corresponding mailserver.
    If you want to e-mail from one mailserver to the other mailserver which DNS record should you provide?
    -An A record from the one you want to mail and an MX record of you own mailserver.
    -Or only an MX record of the one you want to e-mail.

    I hope I'm a bit clear in the explanation if not please ask.
    Your input would be very helpful

    Gybium
  2. #2
  3. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    Maybe I don't understand, but it sounds like you have 2 dns servers, each with their own mailserver. You want to mail from one to the other?

    If this is the case, then you only need an A record and an MX record on each of the dns servers for each of the mail servers.
    "I don't need to get a life. I'm a gamer. I have lots of lives!"
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Location
    United States
    Posts
    24
    Rep Power
    0
    Your description is a little confusing, at least for me.

    when it comes to mail flow and DNS records, you only need to make sure that you have the appropriate MX record in each domain (DNS zone). Of course, there should be an A record that exists to be able to resolve the alias that you have assigned as the MX record.

    For instance, if you own domain.com, but host your mail at an ISP's site, you would have an MX record that points to mail.isp.com. Whoever hosts the isp.com zone, would have an A record for "mail".

    However, if you also host the mail server, you would have an MX record that points to mail.domain.com, and you would have to host an A record that resolves "mail" as well.

    hope this helps...

    [JM], http://itgeared.com

IMN logo majestic logo threadwatch logo seochat tools logo