Skip to content

CfDnsRecordInput

Defined in: dns/dns.ts:23

The fields for creating or updating a DNS record.

content: string

Defined in: dns/dns.ts:29

The record’s content, such as an IP address or target hostname.


name: string

Defined in: dns/dns.ts:27

The record’s name (hostname).


optional proxied?: boolean

Defined in: dns/dns.ts:33

Whether to proxy traffic through Cloudflare. When creating, defaults to false.


optional ttl?: number

Defined in: dns/dns.ts:31

The time to live in seconds. When creating, defaults to 1 (automatic).


type: CfDnsRecordType

Defined in: dns/dns.ts:25

The record type.