Skip to content

Instantly share code, notes, and snippets.

@MEXAHOTABOP
MEXAHOTABOP / cloudflare_dyn_dns.sh
Last active September 21, 2015 11:41 — forked from chappy84/cloudflare_dyn_dns.sh
CloudFlare Dynamic DNS Shell Script ipv4
#!/bin/sh
#
# CloudFlare Dynamic DNS
#
# Updates CloudFlare records with the current public IP address
#
# Takes the same basic arguments as A/CNAME updates in the CloudFlare API
# https://www.cloudflare.com/docs/client-api.html#s5.2
#
# Use with cron jobs etc.