Interface: TXTRecord
Defined in: src/types.ts:714
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: src/types.ts:76
Time to live in seconds (optional)
Inherited from
entries
entries: string[];
Defined in: src/types.ts:716
Array of text strings
type
type: "TXT";
Defined in: src/types.ts:717
The type of DNS record