Skip to content

Support us

Authors: fire1ce | Created: 2022-07-23 | Last update: 2022-08-02

UDM Cloudflare DDNS

Github Repository: UDM Cloudflare DDNS

Change Log

  • 2022-22-2 - Major Update for UDM v2.x and v3.x

What It Does

This will allow to to span a container with podman to handle DDNS updates for main internet IP address.
The container will run the background without any system permissions.

Compatibility

Requirements

Persistence on Reboot is required.
This can be accomplished with a boot script. Flow this guide: UDM Boot Script

  • Cloudflare API Toke

Creating a Cloudflare API token

To create a CloudFlare API token for your DNS zone go to https://dash.cloudflare.com/profile/api-tokens and follow these steps:

  1. Click Create Token
  2. Select Create Custom Token
  3. Provide the token a name, for example, example.com-dns-zone
  4. Grant the token the following permissions: - Zone - DNS - Edit
  5. Set the zone resources to: - Include - Specific Zone - example.com
  6. Complete the wizard.
  7. Use the generated token at the API_KEY variable for the container

Installation

curl -s https://raw.githubusercontent.com/fire1ce/UDM-Cloudflare-DDNS/main/install.sh | sh

Configuration

will be updated soon

Comments