Docker image to keep your A and AAAA records in cloudflare up to date. Just supply an API token and the hosts you want to keep track of. Supports multiple zones. Successor of git.leon.wtf/leon/cfupdater written in Go.
  • Go 98.8%
  • Dockerfile 1.2%
Find a file
Leon Schmidt dea4cd8cdc
All checks were successful
/ create-release (push) Successful in 11s
/ test (push) Successful in 37s
/ docker-build-and-push (push) Successful in 1m8s
ci: migrate from gitlab to forgejo actions
2026-03-10 20:41:03 +00:00
.devcontainer chore: add devcontainer config 2026-03-10 19:45:39 +00:00
.forgejo/workflows ci: migrate from gitlab to forgejo actions 2026-03-10 20:41:03 +00:00
config Fixed #1 2022-05-14 16:08:28 +02:00
externalip refactor: dynamically fetch Cloudflare IP ranges from official endpoints 2026-03-10 18:40:34 +00:00
.dockerignore Added docker stuff 2022-05-14 16:08:40 +02:00
.gitignore Adjusted update mechanism 2022-05-14 14:04:24 +02:00
compose.yml chore: Updated go version and compose file 2025-04-28 20:29:30 +02:00
config.example.jsonc Added http client with custom timeout and custom check interval 2022-05-14 14:30:49 +02:00
Dockerfile chore: Updated go version and compose file 2025-04-28 20:29:30 +02:00
go.mod chore: change go module path 2026-03-10 20:02:21 +00:00
go.sum chore: Updated go version and compose file 2025-04-28 20:29:30 +02:00
LICENSE Added LICENSE 2025-08-11 21:02:44 +02:00
main.go chore: change go module path 2026-03-10 20:02:21 +00:00
README.md chore: change go module path 2026-03-10 20:02:21 +00:00
schedules.go chore: change go module path 2026-03-10 20:02:21 +00:00
update.go chore: change go module path 2026-03-10 20:02:21 +00:00

New CFUpdater

Docker image to keep your A and AAAA records in Cloudflare up to date. Just supply an API Token and the hosts you want to keep track of. Supports multiple zones.

This is the successor of https://code.leon.wtf/leon/cfupdater written in Go (was Python).

Third-party services

The CFUpdater uses Cloudflares trace service to determine the external IPv4 and IPv6.

IPv4:

  • https://1.1.1.1/cdn-cgi/trace
  • https://1.0.0.1/cdn-cgi/trace (fallback on timeout)

IPv6:

  • https://[2606:4700:4700::1111]/cdn-cgi/trace
  • https://[2606:4700:4700::1001]/cdn-cgi/trace (fallback on timeout)

Only the ip= field will be extracted from the response.