Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Getting some random bouncebacks on e-mail processed through an IIS6 SMTP service acting as a smart host (outbound mail gateway).

Configuration example... For domain we there is a Root A record set to, a www A record set to, and a single MX record set to Nothing else. An e-mail is sent to

Normal behavior would of course be looking up and sending mail to that server, but here's the weird part... In the logs we are getting OutboundConnectionResponse log entries listing as the mail server IP address.

This behavior is random, and re-sending the message usually causes it to be delivered to the proper place with no issue.

Does IIS6 SMTP fallback to a domain root A record in a certain scenario? Why would this behavior occur?

share|improve this question
Just so I understand, you're saing that should resolve to, but instead it's resolving to (which happens to be the IP of a related A record)? – Coding Gorilla Sep 22 '11 at 18:31
Correct, we are seeing in the logs (pointing to's website servers) instead of,, almost like SMTP service is saying "hey, I'm gonna ignore this MX record and maybe just take a shot at connecting to the root A record instead!" – Brandon Sep 22 '11 at 18:33
Have you tried resolving the MX record multiple times (using something like NSLOOKUP or DIG) to see if you can get it to resolve to, you might need to query the authoritative DNS server to make sure you're not repeatedly hitting a cached result. No mail server should ever attempt to send email to an A record, that's not how email works, so it doesn't make much sense. – Coding Gorilla Sep 22 '11 at 18:36
@Coding Gorilla: Actually, that's exactly how email works. In the absence of an MX, look for an A, and send email there. – joeqwerty Sep 22 '11 at 18:59
The only case (that I know of) where fallback to A occurs is in the absence of an MX. In all other cases an error should be returned or the email should be queued (dependent on the exact condition encountered). – joeqwerty Sep 22 '11 at 19:01
up vote 1 down vote accepted

That sounds like a DNS problem to me. If an MTA is unable to find an MX record for the domain it will fallback to the A record for the domain.

This might be hard to track down if it's occurring randomly but you can try using the smtpdiag tool when it's occurring to see if it gives you any clues.

share|improve this answer
It's actually supposed to fall back to an A record? Seriously? Totally didn't know that... – Brandon Sep 22 '11 at 18:39
@routeNpingme Yes. Described in RFC 5321 section 5.1 paragraph 2. – mailq Sep 22 '11 at 19:03
RFC 2821 decribes the fallback to A. RFC 5321 obsoletes RFC 2821 but doesn't invalidate the fallback to A (at least in my interpretion). In fact, an MX record isn't even required. An MX record is used when you want to direct email to a particular host. In the absence of an MX record, fallback to A is used. The reason MX records are used is because the A record usually points to a web server and email needs to be directed to a host other than the web server, which is the usual set up these days. Web server = and Email server = – joeqwerty Sep 22 '11 at 19:04

Your Answer


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.