Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Right now my DNS settings look something like this:

| Host Name    | IP Address/URL                  | Record Type |
| ------------ | ------------------------------- | ----------- |
| www          | my.dns.com                      | CNAME       |
| autodiscover | autodiscover.outlook.com        | CNAME       |
| ftp          | my.dns.com                      | CNAME       |
| @            | v=spf1 include:outlook.com ~all | TXT Record  |
| @            | me.mail.eo.outlook.com          | MX          |

When I change them to look like this...

| Host Name    | IP Address/URL                  | Record Type |
| ------------ | ------------------------------- | ----------- |
| @            | mydns.com                       | CNAME       |
| www          | mydns.com                       | CNAME       |
| autodiscover | autodiscover.outlook.com        | CNAME       |
| ftp          | mydns.com                       | CNAME       |
| @            | v=spf1 include:outlook.com ~all | TXT Record  |
| @            | me.mail.eo.outlook.com          | MX          |

... my Exchange email stops working.

I want to be able to access my website at domain.com www.domain.com, and ftp.domain.com while still receiving email. What am I doing wrong?

share|improve this question
    
When you say you're e-mail stops working what does that mean? CNAME and A records should not have any affect on your MX record and the ability for the mail servers at Office 365 to route your messages. –  Brent Pabst Dec 7 '12 at 21:25
    
When I add the @|mydns.com|CNAME entry, I lose the ability to send messages, and messages sent to me never reach me. Senders get a message undeliverable message a few days later. –  braveterry Dec 7 '12 at 21:29

1 Answer 1

up vote 4 down vote accepted

Your record for mydns.com needs to be an 'A' record with an IP address and not a CNAME.

| Host Name    | IP Address/URL                  | Record Type |
| ------------ | ------------------------------- | ----------- |
| @            | mydns.com                       | A           |

Any 'MX' record must be attached to a corresponding 'A' record.

If you were to create "subdomain.mydns.com" it would need to be an 'A' record to attach an 'MX' record to it. A 'CNAME' won't work. Same goes for the naked domain.

You can get feedback on your public DNS configuration at http://intodns.com. Just plug your domain in. It will give you some suggestions.

share|improve this answer
    
Based on your answer, I was able to find the relevant support article on my hosting provider's site that says that CNAME entries for bare domain DNS entries won't work. Thanks! –  braveterry Dec 7 '12 at 21:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.