Your MX record exposes your origin IP - What does this mean?

If you are hosting your own mail server and this is located on the same webserver as your website you will receive the message “Your MX record exposes your origin IP”. This means that attackers can learn the location of your server through your MX records and therefore learn where your website is hosted.

As an example: 

The main website is proxying through Cloudflare and therefore will return Cloudflare IP’s when queried:
dig +short

However if I query the MX records for this domain I am able to determine the location of the origin web server:

dig mx +short

dig +short

To eliminate this risk we recommend hosting your email externally or on a separate server to your website.

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk