Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 702 Bytes

File metadata and controls

29 lines (22 loc) · 702 Bytes

AutoDNS

Flask-based Cloudflare DNS updater. Automatically updates A records using GUID-based identification with Apprise notifications.

Stack

  • Python 3 / Flask
  • Cloudflare API (DNS management)
  • Apprise (notifications)
  • Docker (deployment)

Dev

pip install -r requirements.txt
python autodns.py

Docker

docker compose up -d

Config

Environment variables: CF_ZONE_ID, CF_API_TOKEN, APPRISE_URLS, AUTODNS_PORT, AUTODNS_HOST.

Architecture

Single-file app (autodns.py). Receives HTTP requests, extracts client IP (respects X-Forwarded-For), updates Cloudflare DNS via API, sends notifications via Apprise.

Default Branch

develop (not main).