Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 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