Skip to content

Instantly share code, notes, and snippets.

@TrizontiBaL6
TrizontiBaL6 / cloudflare-update-record.sh
Last active July 2, 2018 03:58 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS Update in Bash
#!/bin/bash
# CHANGE THESE
auth_email="[email protected]"
auth_key="111" # found in cloudflare account settings
zone_name="example.com"
record_name="ddns.example.com"
ttl="120"
# MAYBE CHANGE THESE