CNAME Record Issue with SparkPost Mail

I am trying to use a SparkPost mail server which requires a CNAME record with the name ‘mail domain com’. However, upon adding this record, Cloudflare DNS removes the ‘domain com’ portion leaving the name as ‘mail’. I am wondering how I would be able to get around this or fix this issue as the CNAME record name must include the domain name.

Quite the opposite. When you enter any DNS records, Cloudflare will automatically add your domain to it.

So if you want to create records for www.example.com, you only enter www into the name field.
Same in your case, you only enter mail into the name field, not mail.example.com.

Since your domain is added to every record anyway, it is not shown as part of the records in the dashboard.

Also, keep in mind that the mail record has to be DNS-only, not proxied.

1 Like

I was unaware that the mail record needed to be DNS-only. However, the issue is with the way that SparkPost verifies the DNS records. It is looking for one named mail.domain.com, not mail. When I attempt to verify with the name being mail but SparkPost responds by saying that the record cannot be found.

As I said, when you enter mail into the name field, Cloudflare will automatically append your domain to it. It only shows mail in the dashboard, but the created record actually has the name mail.example.com.

If you need further help, sharing your domain would be helpful.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.