Skip to content

A set of scripts that help perform tedious tasks on CloudFlare.

License

Notifications You must be signed in to change notification settings

RussellSageCollege/CloudFlareUtilites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFlare Utility Scripts

A set of scripts that help perform tedious tasks on CloudFlare.

cfmvip

Finds all DNS records with the specified origin IP address then sets those records to point to the specified destination IP address.

# cfmvip "<origin-ip-address>" "<destination-ip-address>" "<target-zone-io>" "<user-email>" "<api-key>"
cfmvip "127.0.0.1" "10.0.0.2" "ruyc23ec9zhmexkbvaw9tch7vnbvcmfn" "[email protected]" "prm6rf7ajg459wupzrvj4yrqe2tpvgd8j5pew"

cfcp

Finds all DNS records with the specified origin IP address then creates a new record with the destination IP address.

# cfcp "<origin-ip-address>" "<destination-ip-address>" "<target-zone-io>" "<user-email>" "<api-key>"
cfcp "127.0.0.1" "10.0.0.2" "ruyc23ec9zhmexkbvaw9tch7vnbvcmfn" "[email protected]" "prm6rf7ajg459wupzrvj4yrqe2tpvgd8j5pew"

cfrmip

Finds all DNS records with the specified target IP address then deletes that record.

# cfcp "<target-ip-address>" "<target-zone-io>" "<user-email>" "<api-key>"
cfcp "10.0.0.2" "ruyc23ec9zhmexkbvaw9tch7vnbvcmfn" "[email protected]" "prm6rf7ajg459wupzrvj4yrqe2tpvgd8j5pew"

About

A set of scripts that help perform tedious tasks on CloudFlare.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages