Find the answer to your Linux question:
Results 1 to 4 of 4
I am running BIND9 on CentOS I am going to Microsoft Live for a group of people for their email. Right now I have one MX Record in my primary ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    40

    Multiple MX Records


    I am running BIND9 on CentOS

    I am going to Microsoft Live for a group of people for their email.

    Right now I have one MX Record in my primary zone file that is:

    IN MX 10 mail.domain.com.

    This handles the mail to jdoe@domain.com


    I need to add another MX record that will read:

    IN MX 10 ##########.mail.outlook.com.

    The CNAME record which it refers to is:

    others.domain.com. ########## IN CNAME domains.live.com.

    This will handle the email to jdoe@others.domain.com

    Right now the CNAME record is in my primary zone file, and a dig does work.

    My question is can I add the new MX record to the primary zone file without screwing up the mail.domain.com mails?

    If I can where do I add it.

    I have already tried setting it up as a subdomain, and that did not work.

    I have not been provided with an A Record.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,930
    You shouldn't be using a CNAME for your MX record. Even Microsoft advise you not to do this.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    you'll have to set up another domain in your case. You can't query that DNS server about a domain or even a subdomain that it has no idea about. Probably need to add inside your config file something like:

    Code:
    zone "other.domain.com" IN {
    type  master;
    file "path/other.domain.com.zone";
    }
    linux user # 503963

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    40
    I understand that one needs an A record, and not just a CNAME for an MX record. However Microsoft did not provide one, however I did try to use the IP as the A record when I did the "dig" I also have tried using a sub-domain, when I do this, I can only send mail using the IP address, this may be caused by the fact I do not host the sub-domain.

    What I want to try next is to add the following to my primary zone file:

    $ORIGIN others.domain.com.
    IN MX 10 ##########.mail.outlook.com

    Will this help?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •