Skip to content

Instantly share code, notes, and snippets.

View beardsleym's full-sized avatar
👻

Matthew Beardsley beardsleym

👻
View GitHub Profile
@beardsleym
beardsleym / lwp-cloudflare-dyndns.sh
Created August 27, 2019 13:07 — forked from Firsh/lwp-cloudflare-dyndns.sh
Cloudflare as Dynamic DNS
#!/bin/bash
# Cloudflare as Dynamic DNS
# From: https://letswp.io/cloudflare-as-dynamic-dns-raspberry-pi/
# Based on: https://gist.github.com/benkulbertis/fff10759c2391b6618dd/
# Original non-RPi article: https://phillymesh.net/2016/02/23/setting-up-dynamic-dns-for-your-registered-domain-through-cloudflare/
# Update these with real values
auth_email="email@example.com"
auth_key="global_api_key_goes_here"
zone_name="example.com"