CloudFlare Updater

A Python script that contacts the CloudFlare v4 API to retrieve zone details and updates a subdomain A record with your current public IPv4 address.

Before calling this script, edit it to include your API email, key, and default record to update (I suggest test.yourdomain.com or similar). Usage:
python /path/to/script.py [subdomain [yourdomain.com]]