Skip to content

Instantly share code, notes, and snippets.

View Diablo2050's full-sized avatar

Amr Rashad Diablo2050

  • CloudSource @cloudsrc
  • Amsterdam, Netherlands
View GitHub Profile
@Diablo2050
Diablo2050 / cloudflare-ddns-update.sh
Created August 24, 2020 13:53 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record