Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:11:48.000Z (over 1 year ago)
- Last Synced: 2024-09-19T07:10:50.458Z (about 2 months ago)
- Topics: cloudflare, dnslink, ipfs
- Language: JavaScript
- Homepage:
- Size: 206 KB
- Stars: 63
- Watchers: 11
- Forks: 21
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnslink-cloudflare
[![](https://img.shields.io/npm/v/dnslink-cloudflare.svg?style=flat-square)](https://www.npmjs.com/package/dnslink-cloudflare)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](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