Skip to content

cloudflare-ddns

Dynamic DNS updater in Docker that keeps Cloudflare records on your current IP

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

73

Health

Active

Overview

Stars

2,980

Last commit

4 days ago

Nov 2026

Repository age

5 years

since Jun 2021

Latest version

v1.18.0

Oct 2026

Contributors

–

2 active in 90 days

Releases

6

last 12 months

Docker pulls

14M

favonia/cloudflare-ddns

Language

Go

Cloudflare DDNS is a small updater written in Go. It detects your machine's public IP addresses and updates DNS records through the Cloudflare API. It ships as a compact Docker image and is meant for home servers and other machines with changing addresses.

You can list domain names without knowing their DNS zones. Internationalized and wildcard domains work, and you can switch IPv4 (A) and IPv6 (AAAA) records on or off per domain. Existing proxy status, TTL and comments on managed records are preserved, with fallback values you can set. It can also maintain lists of detected IPs for use in Cloudflare Rules, including WAF rules.

Failures can be reported to Healthchecks or Uptime Kuma, and notifications can go out through any service supported by shoutrrr, such as email or webhooks. By default it detects IPs over HTTPS or DNS over HTTPS. Docker images can be verified with cosign.

It is a self-hosted alternative to commercial dynamic DNS clients if your DNS is already on Cloudflare.

Who it's for

Home lab owners without a static IP

It keeps A and AAAA records current from a small container.

Skip if: Your DNS is not hosted on Cloudflare.

Self-hosters running Uptime Kuma or Healthchecks

It reports update failures to those tools and to shoutrrr services.

Skip if: You do not want to monitor the updater at all.

Cloudflare users who rely on proxied records

It preserves proxy status, TTLs and comments when updating.

Skip if: You need a single tool that supports many DNS providers.

The problem it solves

Home and small-office connections change IP addresses, which breaks the DNS records that point at them. This tool updates your Cloudflare records automatically so your services stay reachable.

Strengths

  • Small Docker image, with images verifiable through cosign
  • Handles wildcard and internationalized domains
  • Per-domain toggles for IPv4 and IPv6
  • Keeps existing proxy status, TTL and comments on records
  • Failure alerts via Healthchecks, Uptime Kuma or shoutrrr

Trade-offs

  • Works only with Cloudflare DNS
  • Configured through environment variables, so it needs some Docker knowledge
  • Only a couple of recent contributors

Self-host cloudflare-ddns

Self-hostable
Yes
Docker image
favonia/cloudflare-ddns

Frequently asked questions

Is it free?

Yes. It is open source under the Apache-2.0 license.

Can I run it in Docker?

Yes. A Docker image is provided, and it is the main way to run it.

Does it support IPv6?

Yes. You can toggle A and AAAA records for each domain.

Does it support wildcard domains?

Yes. Wildcard and internationalized domain names are supported.

Similar tools in Network tools

Upsnap

Network tools

Wake-on-LAN web dashboard for homelabs, with scheduling and device scanning

6.5k 256 17 days ago Thriving MIT

AdGuard Home

Network tools

Network-wide DNS server that blocks ads and trackers for every device on your network

39k 2.6k today Thriving GPL-3.0

networking-toolbox

Network tools

Self-hosted collection of IP, subnetting and network tools for sysadmins, usable offline

2.7k 237 2 months ago Slowing MIT

poweradmin

Network tools

Web UI and REST API for managing PowerDNS zones, records and DNSSEC

934 298 today Active GPL-3.0

speedtest

Network tools

Self-hosted browser speed test for download, upload, ping and jitter

15k 2.5k 11 days ago Thriving LGPL-3.0

register

Network tools

12k 36k today Active MIT