turbot/cloudflare

steampipe plugin install cloudflaresteampipe plugin install cloudflare
On This Page
Get Involved

Table: cloudflare_dns_record

List all DNS records associated with a zone.

Note: A zone_id must be provided in all queries to this table.

Examples

Query all DNS records for the zone

select
*
from
cloudflare_dns_record
where
zone_id = 'ecfee56e04ffb0de172231a027abe23b'

List MX records in priority order

select
name,
type,
priority
from
cloudflare_dns_record
where
zone_id = 'ecfee56e04ffb0de172231a027abe23b'
and type = 'MX'
order by
priority

.inspect cloudflare_dns_record

DNS records for a zone.

NameTypeDescription
contenttextContent or value of the record. Changes by type, including IP address for A records and domain for CNAME records.
created_ontimestamp without time zoneWhen the record was created.
datajsonbMap of attributes that constitute the record value. Primarily used for LOC and SRV record types.
idtextID of the record.
lockedbooleanTrue if the record is locked.
metajsonbCloudflare metadata for this record.
modified_ontimestamp without time zoneWhen the record was last modified.
nametextDomain name for the record (e.g. steampipe.io).
prioritybigintPriority for this record, primarily used for MX records.
proxiablebooleanTrue if the record is eligible for Cloudflare's origin protection.
proxiedbooleanTrue if the record has Cloudflare's origin protection.
ttlbigintTime to live in seconds of the record.
typetextType of the record (e.g. A, MX, CNAME).
zone_idtextZone where the record is defined.
zone_nametextName of the zone where the record is defined.