On this page

    M

    dns.resolveTlsa

    History
    dns.resolveTlsa(hostname, callback): void
    Attributes
    hostname:string
    callback:Function
    err:Error
    records:Object[]

    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],
    });