Skip to the content.

Interface: CNAMERecord

Defined in: types.ts:131

CNAME record - Maps an alias name to the canonical domain name.

Example

const record: CNAMERecord = {
    type: "CNAME",
    value: "canonical.example.com",
    ttl: 300,
};

Extends

Properties

ttl?

optional ttl?: number

Defined in: types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


type

type: "CNAME"

Defined in: types.ts:132

The type of DNS record

Overrides

BaseDNSRecord.type


value

value: string

Defined in: types.ts:134

The canonical domain name