大网数据广告活动
网站运营与故障问答

Should I specify CAA records for www subdomain too?

· 52CE 我爱测

I pre-paid 5 years of AlpiroSSL Premium ( English info here ), it's from Sectigo originally, but the certificate provider told me the right CAA is (or should be) trust-provider.com as per my current settings. I may switch to Let'…

问题原文

原帖链接 · Vlastimil Burián · CC BY-SA 4.0

I pre-paid 5 years of AlpiroSSL Premium (English info here), it's from Sectigo originally, but the certificate provider told me the right CAA is (or should be) trust-provider.com as per my current settings. I may switch to Let's Encrypt sometime in the future though, so I kept it there for hosting's sake. Anyway, my question is, if specifying CAA for both the domain and www subdomain makes sense?

0 issue "trust-provider.com"
0 issue "letsencrypt.org"
0 issuewild ";"
0 iodef "mailto:[email omitted]"

DNS CAA currently set


SSL Labs showing CAA

已采纳解答

原帖链接 · Patrick Mevzek · CC BY-SA 4.0

Anyway, my question is, if specifying CAA for both the domain and www subdomain makes sense?

Not necessarily except if you really need that. Why? Because CAA records cascade.

Per RFC 8659 section 3, if a system has to find out a CAA record for www.example.com, it tries this name first, and if no response found, it continues "climbing up the root" and hence will try a CAA request on example.com (and theoretically later even on com and . in fact).

So, said differently, if you put a CAA record on example.com without any other records elsewhere in the zone, then that specific record will apply to all names in the zone.

Bases on your screenshot, you have the same CAA record on www and at apex, so the one at www is redundant but harmless.

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

资料来源与适用范围

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

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

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