Skip to the content.

Interface: TXTRecord

Defined in: types.ts:711

TXT record - Contains arbitrary text data.

Example

const record: TXTRecord = {
    type: "TXT",
    entries: ["v=spf1 include:_spf.google.com ~all"],
    ttl: 300,
};

Extends

Properties

ttl?

optional ttl?: number

Defined in: types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


entries

entries: string[]

Defined in: types.ts:713

Array of text strings


type

type: "TXT"

Defined in: types.ts:714

The type of DNS record

Overrides

BaseDNSRecord.type