Cloudflare DDNS Setup Guide - ajgillis04/GillisDockerDepot GitHub Wiki

Cloudflare DDNS Setup Guide

Introduction

Cloudflare DDNS is a dynamic DNS service that automatically updates your Cloudflare DNS records to match your current public IP address, making it ideal for personal websites and home networks.

Prerequisites

  • Docker installed
  • Cloudflare DDNS container running in your Docker stack
  • Cloudflare account with API token

Configuration Steps

Step 1: Prerequisite you must have a Cloudflare account, a Domain name, and the API Token

  1. Open your browser and navigate to https://dash.cloudflare.com/.
  2. Log in with your Cloudflare credentials.
  3. Register your Domain, if you have not already
  4. once complete go to the domain and under overview you will find Get your API token. Select it

Cloudflare DomainReg Cloudflare DomainReg1

Cloudflare_Domainreg.png

Step 2: Adding Cloudflare Account

  1. Go to the Settings tab.
  2. Click Add Account.
  3. Enter your Cloudflare API token and email address.
  4. Click Save.

Step 3: Configuring Domains

  1. Navigate to the Domains tab.
  2. Click Add Domain.
  3. Enter your domain name and the corresponding DNS record types (e.g., A, CNAME).
  4. Click Save.

Step 4: Setting Update Intervals

  1. Go to the Settings tab.
  2. Configure the update interval to define how often the IP address should be checked and updated.
  3. Click Save.

Step 5: Reviewing Logs

  1. Navigate to the Logs tab.
  2. Review the logs to ensure that the DDNS updates are being applied correctly.

Step 6: Customizing Settings

  1. Go to the Settings section.
  2. Customize the settings according to your preferences (e.g., notification settings, security).
  3. Click Save.

Notes

  • Ensure all paths and environment variables are updated in the cloudflare-ddns.yaml file.
  • Regularly backup your config directory to save your settings.

Troubleshooting

  • Common Issues: List common issues and solutions.
  • Logs: Check Cloudflare DDNS logs for error messages.
  • Support: Link to the Cloudflare community and support resources.