Video coming soon…

🌐 Setup Cloudflare DDNS — Keep Your Domain Pointed at a Changing IP

Deploy Cloudflare DDNS on Ubuntu with Docker — a tiny, secure agent that automatically updates your Cloudflare DNS records whenever your home IP changes. No web UI, fully env-driven.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys a lightweight agent that keeps your Cloudflare DNS records in sync with your public IP. There's no web UI; it's configured entirely by environment variables.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/networking/cloudflare-ddns/cloudflare-ddns-ubuntu.sh
chmod +x cloudflare-ddns-ubuntu.sh
sudo bash cloudflare-ddns-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/networking/cloudflare-ddns/cloudflare-ddns-ubuntu.sh

2 Make it Executable

chmod +x cloudflare-ddns-ubuntu.sh

3 Run the Installer

The script installs Docker if needed and starts the favonia/cloudflare-ddns agent. You supply a scoped Cloudflare API token and your list of domains via environment variables; the agent then keeps their records pointed at your current public IP.

sudo bash cloudflare-ddns-ubuntu.sh

4 Verify It Updated via the Logs

There's no web UI — you confirm it's working by reading the container logs, which show the detected IP and each record it updated:

docker logs cloudflare-ddns

Ports Used

PortPurpose
No portsOutbound-only agent — no web UI, nothing to firewall inbound
CLOUDFLARE_API_TOKENA scoped token with DNS edit on your zone (never the Global Key)
DOMAINSComma-separated records to keep pointed at your public IP

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions