https://github.com/ipfs-shipyard/dnslink-cloudflare
Update dnslink TXT records in Cloudflare
https://github.com/ipfs-shipyard/dnslink-cloudflare
cloudflare dnslink ipfs
Last synced: about 1 month ago
JSON representation
Update dnslink TXT records in Cloudflare
- Host: GitHub
- URL: https://github.com/ipfs-shipyard/dnslink-cloudflare
- Owner: ipfs-shipyard
- License: mit
- Created: 2019-02-23T23:35:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:11:48.000Z (about 2 years ago)
- Last Synced: 2025-03-10T14:44:23.306Z (about 2 months ago)
- Topics: cloudflare, dnslink, ipfs
- Language: JavaScript
- Homepage:
- Size: 206 KB
- Stars: 66
- Watchers: 10
- Forks: 15
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnslink-cloudflare
[](https://www.npmjs.com/package/dnslink-cloudflare)
[](https://webchat.freenode.net/?channels=%23ipfs)> Update dnslink TXT records in Cloudflare
## Usage
```sh
npx dnslink-cloudflare -d -l [-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 emailThe 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