Office 365 Malformed DNS Server Reply

Office 365 Malformed DNS Server Reply

I wanted to share a ‘gotcha’ I encountered recently when a customer I had moved to Office 365 was getting an Non-Delivery Reports (NDRs) when trying to send emails to some recipients:

Sender address rejected: Malformed DNS server reply

I’d never since this before and was curious as to what the problem could be, given that everything was working fine for the customer.

It turns out that somehow copy and pasting the MX record from the Office 365 portal to the domain name hosts DNS editor had carried with an invisible character at the end (a tab) which I deleted and all was well.

I was very surprised that the dns editor didn’t ‘TRIM’ the left and right side of the MX record entry (let alone just flag any invalid characters).

Bob McKay

About Bob McKay

Bob is a Founder of Seguro Ltd, a full time father and husband, part-time tinkerer-with-wires, coder, Muay Thai practitioner, builder and cook. Big fan of equality, tolerance and co-existence.

Disclosure Policy

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.