Sign inSign up

kdpuvvadi/cf-ddns

By kdpuvvadi

•Updated over 1 year ago

Lightweight Cloudflare DDNS

Image
1

1.8K

kdpuvvadi/cf-ddns repository overview

⁠Docker Cloudflare DDNS

build

DDNS service for cloudflare

⁠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:

  • Click Create Token
  • Provide the token a name, for example, cloudflare-ddns
  • Grant the token the following permissions:
  • Zone - Zone Settings - Read
  • Zone - Zone - Read
  • Zone - DNS - Edit
  • Set the zone resources to:
  • Include - All zones

⁠Deployment

docker run -d --name ddns \
  --restart=always \
  -e TOKEN=token \
  -e DOMAIN=example.com \
  -e CNAME=test \
  kdpuvvadi/cf-ddns:latest

With docker-compose

version: "3"

services:
  ddns:
    container_name: ddns
    image: kdpuvvadi/cf-ddns:latest
    environment:
      TOKEN: 'Token Here'
      DOMAIN: 'example.com'
      CNAME: 'cname'
    restart: unless-stopped

⁠LICENSE

Licensed under MIT⁠

Tag summary

Content type

Image

Digest

sha256:8ad3f3017…

Size

6.6 MB

Last updated

over 1 year ago

docker pull kdpuvvadi/cf-ddns