Cloudflare DNS Adapter
Reference doc for the `sst.cloudflare.dns` adapter.
The Cloudflare DNS Adapter is used to create DNS records to manage domains hosted on Cloudflare DNS.
This needs the Cloudflare provider. To add it run:
This adapter is passed in as domain.dns
when setting a custom domain, where example.com
is hosted on Cloudflare.
Specify the zone ID.
Functions
dns
DnsArgs
override?
Type Input
<
boolean
>
Default false
Set to true
to allow the creation of new DNS records that can replace existing ones.
This is useful for switching a domain to a new site without removing old DNS records, helping to prevent downtime.
proxy?
transform?
transform.record?
Type RecordArgs
|
(
args
:
RecordArgs
,
opts
:
ComponentResourceOptions
,
name
:
string
)
=>
void
Transform the Cloudflare record resource.
zone?
Type Input
<
string
>
The ID of the Cloudflare zone to create the record in.