问题原文
原帖链接 · norr · CC BY-SA 4.0
I created website for someone, but also someone (I guess some SEO guy) told this person that I made big mistake because there are missing DNS records on domain (mx, SPF, dmarc). Now I need to "fix" my error.
Thing is, of course these records are used for Email purposes, but there is NO email in this domain (just simple free Gmail account).
So, is there any reason to add these records anyway? How they should look like? Only reason I can think of is preventing SPAM using my domain identity. But I thought that SPAM filters are not going to pass email from my domain anyway if these records are missing, so what's the point?
已采纳解答
原帖链接 · Håkan Lindqvist · CC BY-SA 4.0
The point would largely boil down to being a good citizen and reducing abuse, like making your domain less useful for spammers to impersonate and to make it immediately clear to others that mail is not deliverable there.
If the claim is accurate that the domain is not used for either sending or receiving email at all, you could add something like this:
domain.example. IN MX 0 .
domain.example. IN TXT "v=spf1 -all"
_dmarc.domain.example. IN TXT "v=DMARC1; p=reject; aspf=s; adkim=s;"
This indicates that inbound mail is not accepted (null MX), and that any mail sent from the domain should be rejected (SPF policy that lists no allowed senders + DMARC policy enforces From-header alignment).
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
