Skip to content

CfDnsRecord

Defined in: dns/dns.ts:7

A DNS record in a Cloudflare zone.

content: string

Defined in: dns/dns.ts:15

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


id: string

Defined in: dns/dns.ts:9

The record’s identifier.


name: string

Defined in: dns/dns.ts:13

The record’s name (hostname).


proxied: boolean

Defined in: dns/dns.ts:19

Whether traffic goes through Cloudflare’s proxy.


ttl: number

Defined in: dns/dns.ts:17

The time to live in seconds; 1 means automatic.


type: CfDnsRecordType

Defined in: dns/dns.ts:11

The record type.