Skip to content

Instantly share code, notes, and snippets.

View Angus-Moore-Dev's full-sized avatar

Angus Moore Angus-Moore-Dev

View GitHub Profile
@Angus-Moore-Dev
Angus-Moore-Dev / update-cloudflare-dns.sh
Created December 28, 2025 00:10
Cloudflare DDNS Updater
#!/bin/bash
# Cloudflare Dynamic DNS Updater with Proxy
# Creates and updates DNS records to point to current public IP
# Handles wildcard, root domain, and specific subdomains
# Configuration
CLOUDFLARE_API_TOKEN="API_TOKEN"
ZONE_ID="ZONE_ID_TOKEN"
DOMAIN="domaingoeshere.com"