Cloudflare MX Records
Follow these steps to setup mx records in your Cloudflare account.
Set up email records
There are two reasons to set up email records for your domain: to make sure email reaches your mail server and to prevent other email senders from spoofing your domain.
To route emails to your mail server, you need to create two DNS records within Cloudflare:
-
1.An A or AAAA record for your mail subdomain that points to the IP address of your mail server.TypeNameIPv4 addressProxy statusA
mail192.0.2.1Proxied
-
2.An MX record that points to that subdomain.TypeNameMail serverTTLMX
@mail.example.comAuto
To set up email security records: