Re:How to prevent email spoofing, using an unholy combinatio...
by teddyh on Monday August 16, 2021 @03:23AM
(#28195737)
DKIM and DMARC can be CNAMEs, but not SPF, since SPF lives at the apex domain name, which can not be a CNAME. (Of course, if your email address is on a subdomain, then that can be a CNAME. But then the MX records will also have to be moved to the CNAME target.)
Re:How to prevent email spoofing, using an unholy combinatio...
by marcbradshaw on Monday August 16, 2021 @03:32AM
(#28195780)
Not even then, RFCs state that a CNAME may not exist with any other RR type, and your apex domain needs at least SOA and NS records.
A CNAME on the apex domain may kind of work, but it will present as broken in subtle and unexpected ways.
Re:How to prevent email spoofing, using an unholy combinatio...
by teddyh on Monday August 16, 2021 @04:13AM
(#28195987)
Um, what? I think you misunderstood me. Or you are unaware that DMARC and DKIM records live on subdomains.
Re:How to prevent email spoofing, using an unholy combinatio...
by marcbradshaw on Monday August 16, 2021 @03:25AM
(#28195749)
DKIM and DMARC can be CNAMES, many services already use this, at Fastmail for example for DKIM you setup CNAMES, and we manage DKIM keys for you.
SPF needs to be on your (root/organizational) domain, and you don't want (can't have) a CNAME there.
I wouldn’t be surprised if there’s also a mail daemon that also did DNS for you. Everything in one simple MTA. Begone, Exim4 mega config and update-exim4.conf.conf.conf!