All Projects → bAndie91 → Cloudflare Cli

bAndie91 / Cloudflare Cli

CLI utility managing CloudFlare services using CloudFlare API

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Cloudflare Cli

Lexicon
Manipulate DNS records on various DNS providers in a standardized way.
Stars: ✭ 1,028 (+1585.25%)
Mutual labels:  cli, dns, cloudflare
Freenom Dns Updater
A tool to update freenom's dns records
Stars: ✭ 117 (+91.8%)
Mutual labels:  api, cli, dns
Get File
CLI and API to get a single file from Github repository.
Stars: ✭ 9 (-85.25%)
Mutual labels:  api, cli
Horrible Downloader
horriblesubs.info python API and CLI
Stars: ✭ 28 (-54.1%)
Mutual labels:  api, cli
Oas Generator
NodeJS RESTful APIs scaffolding based OpenAPI 3.x specs using oas-tools and express.
Stars: ✭ 32 (-47.54%)
Mutual labels:  api, cli
Exiftool
ExifTool meta information reader/writer
Stars: ✭ 832 (+1263.93%)
Mutual labels:  api, cli
Github Funding Yml Updater
Update multiple repositories's `.github/FUNDING.yml` via GitHub API
Stars: ✭ 17 (-72.13%)
Mutual labels:  api, cli
Wait4x
Wait4X is a cli tool to wait for everything! It can be wait for a port to open or enter to rquested state.
Stars: ✭ 30 (-50.82%)
Mutual labels:  cli, dns
Hostctl
Your dev tool to manage /etc/hosts like a pro!
Stars: ✭ 642 (+952.46%)
Mutual labels:  cli, dns
Nodejs
Everything related to the Node.js ecosystem for the commercetools platform.
Stars: ✭ 47 (-22.95%)
Mutual labels:  api, cli
Lenz
Console based MAP 🗺 : with lots of features 🤩
Stars: ✭ 51 (-16.39%)
Mutual labels:  cli, dns
Godns
A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
Stars: ✭ 784 (+1185.25%)
Mutual labels:  dns, cloudflare
Hostess
An idempotent command-line utility for managing your /etc/hosts file.
Stars: ✭ 779 (+1177.05%)
Mutual labels:  cli, dns
V3n0m Scanner
Popular Pentesting scanner in Python3.6 for SQLi/XSS/LFI/RFI and other Vulns
Stars: ✭ 847 (+1288.52%)
Mutual labels:  dns, cloudflare
Ftl
The Pi-hole FTL engine
Stars: ✭ 776 (+1172.13%)
Mutual labels:  api, dns
Nexrender
📹 Data-driven render automation for After Effects
Stars: ✭ 946 (+1450.82%)
Mutual labels:  api, cli
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+13554.1%)
Mutual labels:  api, cli
Kanye.rest
🌊 A free REST API for random Kanye West quotes (Kanye as a Service)
Stars: ✭ 558 (+814.75%)
Mutual labels:  api, cloudflare
Ponzu
Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
Stars: ✭ 5,373 (+8708.2%)
Mutual labels:  api, cli
Cli
GraphQL back-end framework with first-class Typescript support
Stars: ✭ 37 (-39.34%)
Mutual labels:  api, cli

DESCRIPTION

CLI utility managing CloudFlare services - highly focused on DNS - using CloudFlare API

SYNOPSIS

Usage: cloudflare [Options] <command> <parameters>
Options:
 --details, -d    Display detailed info where possible
 --debug, -D      Display API debugging info
 --quiet, -q      Less verbose
 -E <email>
 -T <api_token>
Environment variables:
 CF_ACCOUNT  -  email address (as -E option)
 CF_TOKEN    -  API token (as -T option)
Enter "cloudflare help" to list available commands.

COMMAND REFERENCE

$ cloudflare help
Commands:
   show, add, delete, change, clear, invalidate, check
$ cloudflare show
Parameters:
   zones, settings, records, listing
$ cloudflare show zones
example.net active  #IDSTRING   OLD-NS1,OLD-NS2  NEW-NS1,NEW-NS2
$ cloudflare show settings
Usage: cloudflare show settings <zone>
$ cloudflare show settings example.net
advanced_ddos                  off
always_online                  on
automatic_https_rewrites       off
...
$ cloudflare show records
Usage: cloudflare show records <zone>
$ cloudflare show records example.net
www     auto CNAME     example.net.       ; proxiable,proxied #IDSTRING
@       auto A         198.51.100.1       ; proxiable,proxied #IDSTRING
*       3600 A         198.51.100.2       ;  #IDSTRING
...
$ cloudflare show listings
198.51.100.0/24 whitelist       2014-10-30T05:31:30.099176Z     # NOTES
198.51.100.4    block           2014-10-30T05:31:30.099176Z     # NOTES
CN              challenge       2014-10-30T05:31:30.099176Z     # NOTES
...
$ cloudflare add
Parameters:
   zone, record, whitelist, blacklist, challenge
$ cloudflare add zone
Usage: cloudflare add zone <name>
$ cloudflare add record
Usage: cloudflare add record <zone> <type> <name> <content> [ttl] [prio] [service] [protocol] [weight] [port]
   <zone>      domain zone to register the record in, see 'show zones' command
   <type>      one of: A, AAAA, CNAME, MX, NS, SRV, TXT, SPF, LOC
   <name>      subdomain name, or "@" to refer to the domain's root
   <content>   IP address for A, AAAA
               FQDN for CNAME, MX, NS, SRV
               any text for TXT, spf definition text for SPF
               coordinates for LOC (see RFC 1876 section 3)
   [ttl]       Time To Live, 1 = auto
   [prio]      required only by MX and SRV records, enter "10" if unsure
   These ones are only for SRV records:
   [service]   service name, eg. "sip"
   [protocol]  tcp, udp, tls
   [weight]    relative weight for records with the same priority
   [port]      layer-4 port number
$ cloudflare add whitelist
Usage: cloudflare add [<whitelist | blacklist | challenge>] [<IP | IP/mask | country_code>] [note]
$ cloudflare delete
Parameters:
   zone, record, listing
$ cloudflare delete zone
Usage: cloudflare delete zone <name>
$ cloudflare delete record
Usage: cloudflare delete record [<record-name> [<record-type> | first] | [<zone-name>|<zone-id>] <record-id>]
$ cloudflare delete record ftp.example.net
$ cloudflare delete record example.net 1234567890abcdef1234567890abcdef
$ cloudflare delete listing
Usage: cloudflare delete listing [<IP | IP range | country_code | ID | note_fragment>] [first]
$ cloudflare change
Parameters:
   zone, record
$ cloudflare change zone
Usage: cloudflare change zone <zone> <setting> <value> [<setting> <value> [ ... ]]
$ cloudflare change zone example.net
Settings:
   security_level [under_attack | high | medium | low | essentially_off]
   cache_level [aggressive | basic | simplified]
   rocket_loader [on | off | manual]
   minify <any variation of css, html, js delimited by comma>
   development_mode [on | off]
   mirage [on | off]
   ipv6 [on | off]
Other: see output of 'show zone' command
$ cloudflare change record
Usage: cloudflare set record <name> [type <type> | first | oldcontent <content>] <setting> <value> [<setting> <value> [ ... ]]
You must enter "type" and the record type (A, MX, ...) when the record name is ambiguous,
or enter "first" to modify the first matching record in the zone,
or enter "oldcontent" and the exact content of the record you want to modify if there are more records with the same name and type.
Settings:
  newname        Rename the record
  newtype        Change type
  content        See description in 'add record' command
  ttl            See description in 'add record' command
  proxied        Turn CF proxying on/off
$ cloudflare clear
Parameters:
   cache
$ cloudflare clear cache
Usage: cloudflare clear cache <zone>
$ cloudflare invalidate
Usage: cloudflare invalidate <url-1> [url-2 [url-3 [...]]]
$ cloudflare check
Parameters:
   zone
$ cloudflare check zone
Usage: cloudflare check zone <zone>

REQUIREMENTS

  • bash 4.x
  • curl
  • php (php-cli) 5.x

DONATE

Support me to improve cloudflare-cli

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].