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
- Host: GitHub
- URL: https://github.com/silverwind/cfdns
- Owner: silverwind
- Created: 2018-07-10T08:02:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T19:05:06.000Z (over 3 years ago)
- Last Synced: 2025-09-21T02:29:09.875Z (5 months ago)
- Topics: cloudflare, cloudflare-api, dns, nodejs
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cfdns
[](https://www.npmjs.org/package/cfdns) [](https://www.npmjs.org/package/cfdns) [](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