dns.resolveTlsa(hostname, callback)


新增于: v23.9.0, v22.15.0

使用 DNS 协议解析 hostname 的证书关联(TLSA 记录)。传递给 callback 函数的 records 参数是具有以下属性的对象数组:

\Uses the DNS protocol to resolve certificate associations (TLSA records) for the hostname. The records argument passed to the callback function is an array of objects with these properties:

  • certUsage

  • selector

  • match

  • data

{
 certUsage: 3,
 selector: 1,
 match: 1,
 data: [ArrayBuffer]
} 

AltStyle によって変換されたページ (->オリジナル) /