dnsPromises.resolveCaa(hostname)


使用域名系统协议为 hostname 解析 CAA 记录。 当成功时,Promise 使用包含可用于 hostname(例如 [{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}])的可用证书颁发机构授权记录的对象数组进行解决。

Uses the DNS protocol to resolve CAA records for the hostname. On success, the Promise is resolved with an array of objects containing available certification authority authorization records available for the hostname (e.g. [{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]).