Skip to content

Instantly share code, notes, and snippets.

@hitmanbabyvn
hitmanbabyvn / cloudflare_dyn_dns.sh
Last active March 14, 2021 05:59 — forked from chappy84/cloudflare_dyn_dns.sh
CloudFlare Dynamic DNS Shell Script
#!/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 v4 API
# https://www.cloudflare.com/docs/client-api.html#s5.2
#
# Use with cron jobs etc.