Mailgun suggests setting up email on a subdomain as best practice. However i'm only able to successfully set up Mailgun on my root domain via Cloudflare, using a subdomain as suggested (eg mg.mydomain.com) is not working.
With the subdomain mailgun has verified all the txt/mx/cname records. However Cloudflare has this message:
"An MX record was not found for your root domain. An MX record is required for mail to reach @amcc.io addresses."
I have seen instructions on having to set up an A record for the subdomain. I dont know what IP address this should point to. My plan with this domain is to use Cloudflare for all DNS and use various JAMstack services for hosting so can't set up a subdomain with a host easily.
Any hints on DNS settings for using a subdomain for mail purely through cloudflare would be gratefully received