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

https://github.com/silverwind/cfdns

CLI to modify DNS records hosted on Cloudflare
https://github.com/silverwind/cfdns

cloudflare cloudflare-api dns nodejs

Last synced: 4 months ago
JSON representation

CLI to modify DNS records hosted on Cloudflare

Awesome Lists containing this project

README

          

# cfdns
[![](https://img.shields.io/npm/v/cfdns.svg?style=flat)](https://www.npmjs.org/package/cfdns) [![](https://img.shields.io/npm/dm/cfdns.svg)](https://www.npmjs.org/package/cfdns) [![](https://api.travis-ci.org/silverwind/cfdns.svg?style=flat)](https://travis-ci.org/silverwind/cfdns)

> CLI to modify DNS records hosted on Cloudflare

## Install

```sh
$ npm i -g cfdns
```

## Usage

```
usage: cfdns [options] command [args]

Commands:
login Log in to the API
get Retrieve a DNS record
set [] Create or update a DNS record
del Delete a DNS record
logout Log out from the API

Options:
-v, --version Print the version
-h, --help Print this help

Example:
$ cfdns login user@example.com 4c689aa3462a44a121c1f199c1081240b9be4
$ cfdns set example.com a 1.2.3.4 120
$ cfdns get example.com a
$ cfdns del example.com a
```

### Limitations

- Only supports one record per name and type combination

## License

© [silverwind](https://github.com/silverwind), distributed under BSD licence