Skip to content

Instantly share code, notes, and snippets.

@jkluch
jkluch / CF_DNS_Updater.py
Last active January 13, 2020 05:18
Cloudflare auto-update any type A records found within the account to your current IP
#!/usr/bin/env python3
import sys
import json
import requests
import subprocess
from os.path import expanduser
HOME = expanduser("~")
AUTH_EMAIL = "MODIFY THIS"
AUTH_KEY = "MODIFY THIS"