Commit Graph

1 Commits

Author SHA1 Message Date
Alexander Whitestone
ce3da2dbc4 feat: sovereign DNS management via Cloudflare API (#692)
Some checks failed
Smoke Test / smoke (pull_request) Failing after 2m25s
DNS record management script with Cloudflare API integration:

Operations:
  python3 scripts/dns-manager.py list --zone example.com
  python3 scripts/dns-manager.py add --zone example.com --name forge --ip 1.2.3.4
  python3 scripts/dns-manager.py update --zone example.com --name forge --ip 5.6.7.8
  python3 scripts/dns-manager.py delete --zone example.com --name forge
  python3 scripts/dns-manager.py sync --zone example.com --config dns-records.yaml

Features:
- Cloudflare API v4 integration (stdlib only, no deps)
- Zone auto-resolution from domain name
- Sync from YAML config (add missing, update changed)
- API token from CLOUDFLARE_API_TOKEN env or ~/.config/cloudflare/token
- Fleet DNS records: forge, bezalel, allegro subdomains

Also: dns-records.yaml with current fleet domain mappings.
2026-04-15 23:47:32 -04:00