Skip to content

GainsNetwork-org/dnslink-cloudflare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnslink-cloudflare

Update dnslink TXT records in Cloudflare

Usage

npx dnslink-cloudflare -d <domain> -l <link> [-r record]

Environment variables

It can be done two ways. The first is with email and API key.

  • CF_API_KEY CloudFlare API key
  • CF_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

Contributing

PRs accepted.

License

MIT © Protocol Labs

About

Update dnslink TXT records in Cloudflare

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%