大网数据广告活动
服务器运维问答

Is it wrong to leave out the "v=DKIM1;" on a DKIM record?

· 52CE 我爱测

Looking at my mail hosting provider's already-populated DNS records, I see that their auto-generated DKIM record doesn't have v=DKIM; in it - it is simply k=rsa; p=hGF6ksa9fjf8SD6bcKk... in the record value. Is this still conside…

问题原文

原帖链接 · Brie · CC BY-SA 3.0

Looking at my mail hosting provider's already-populated DNS records, I see that their auto-generated DKIM record doesn't have v=DKIM; in it - it is simply

k=rsa; p=hGF6ksa9fjf8SD6bcKk...

in the record value.

Is this still considered a "valid" DKIM record? Do I need to contact them to have them add the v=DKIM1; in? (The associated Name is correct.)

已采纳解答

原帖链接 · David · CC BY-SA 3.0

RFC 6376, which defines DKIM, states the following about the v tag in the key record:

v= Version of the DKIM key record (plain-text; RECOMMENDED, default is "DKIM1"). If specified, this tag MUST be set to "DKIM1" (without the quotes). This tag MUST be the first tag in the record. Records beginning with a "v=" tag with any other value MUST be discarded. Note that Verifiers must do a string comparison on this value; for example, "DKIM1" is not the same as "DKIM1.0".

Since it is RECOMMENDED and defaults to DKIM1, this record is compliant with the RFC and should work with all compliant implementations. (In other words, you should be fine.)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-01-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。