FresolveTlsa
Bun

function

dns.promises.resolveTlsa

function resolveTlsa(
hostname: string
): Promise<TlsaRecord[]>;

Uses the DNS protocol to resolve certificate associations (TLSA records) for the hostname. On success, the Promise is resolved with an array of objectsAdd commentMore actions with these properties:

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