Let's say I've got a wildcard subdomain CNAME for root domain:
*.domain.com CNAME domain.com
domain.com A 130.71.45.31
This works well for websites, e.g. subdomain.domain.com.
Now let's say I have an MX record on the root domain.
I assumed that emails to: person@subdomain.domain.com would work, but they fail. Emails of the form person@domain.com work just fine.
Where am I going wrong?