Skip to content

Instantly share code, notes, and snippets.

@luiz-surian
luiz-surian / cloudflare-dns-update.py
Last active June 30, 2022 14:58
Cloudflare "DynamicDNS" - Automate DNS records to automatically update IPs from non-static ISP using Cloudflare API
#!/usr/bin/env python3
"""Cloudflare "DynamicDNS"
This script automate DNS records to automatically update IPs from non-static ISP using Cloudflare API.
Recommendation:
- Create a 'cloudflare' folder inside user home:
mkdir ~/cloudflare