Skip to main content

dns_record_payload

Function dns_record_payload 

Source
pub fn dns_record_payload(rec: &FrontDoorRecord) -> Value
Expand description

Shape the Cloudflare POST /zones/{zone}/dns_records body for a front-door record.

A TXT record at _qdp.<domain> whose content is the compact front-door value. TTL 300s (5 min) — short, because the front door is meant to be updatable quickly.