A lightweight Cloudflare Dynamic DNS shell script
10 months ago
- #Cloudflare
- #DNS
- #Automation
- Lightweight Cloudflare Dynamic DNS shell script with dual stack (IPv4/IPv6) support.
- Supports updating multiple DNS records simultaneously with smart monitoring for IP changes.
- Features auto-caching of DNS records and zone info for performance improvement.
- Offers multiple authentication methods: Cloudflare API Token and Legacy API Key.
- Includes proxy protocol support for API requests via SOCKS proxy.
- Systemd support with service/timer examples and dynamic user support.
- Telegram push notifications for updates with high readability.
- Automatic CSV logging for DNS updates history, enabled by default.
- Flexible configuration via command line parameters or environment variables.
- Requires tools like curl, jq, awk, grep, and date for operation.
- Examples provided for various use cases including single/multiple record updates.
- CSV logging can be disabled via environment variable or command line option.