Skip to content

Instantly share code, notes, and snippets.

View eric-pierce's full-sized avatar
💫
Always Learning

Eric Pierce eric-pierce

💫
Always Learning
View GitHub Profile
@eric-pierce
eric-pierce / lwp-cloudflare-dyndns.sh
Created February 19, 2020 02:04 — 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"