Skip to the content.

Interface: TLSARecord

Defined in: types.ts:675

TLSA record - DNS-based Authentication of Named Entities (DANE).

Associates a TLS server certificate with the domain name where the record is found.

Example

const record: TLSARecord = {
    type: "TLSA",
    usage: 3,
    selector: 1,
    matchingType: 1,
    certificate: "abcdef1234567890...",
    ttl: 86400,
};

Extends

Properties

ttl?

optional ttl?: number

Defined in: types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


certificate?

optional certificate?: string

Defined in: types.ts:680

Certificate association data internal canonical (Node uses ‘data’ as ArrayBuffer/Buffer)


certUsage?

optional certUsage?: number

Defined in: types.ts:682

Node.js compatible certificate usage


data?

optional data?: string | ArrayBuffer | Uint8Array<ArrayBufferLike>

Defined in: types.ts:684

Node.js compatible data (hex/base64 string or Buffer)


match?

optional match?: number

Defined in: types.ts:686

Node.js compatible matching type


matchingType?

optional matchingType?: number

Defined in: types.ts:688

Matching type (0-2) internal canonical (Node uses ‘match’)


selector

selector: number

Defined in: types.ts:690

Selector (0-1)


type

type: "TLSA"

Defined in: types.ts:691

The type of DNS record

Overrides

BaseDNSRecord.type


usage?

optional usage?: number

Defined in: types.ts:693

Certificate usage (0-3) internal canonical (Node uses ‘certUsage’)