Update dnslink TXT records in Cloudflare
npx dnslink-cloudflare -d <domain> -l <link> [-r record]
It can be done two ways. The first is with email and API key.
CF_API_KEY
CloudFlare API keyCF_API_EMAIL
CloudFlare API email
The second is with just the API token (permissions: zone:read
for all zones and dns:edit
for specific zone):
CF_API_TOKEN
CloudFlare API token
These values are obtained from in the CloudFlare account. https://dash.cloudflare.com/profile/api-tokens
PRs accepted.
MIT © Protocol Labs