暫無描述

hmetzner dd52cc6aef 'README.md' ändern 7 年之前
.dockerignore 0aa76db3ff Update .dockerignore 8 年之前
.gitattributes 3cbb4ed859 Initial Commit 8 年之前
.gitignore 3cbb4ed859 Initial Commit 8 年之前
Dockerfile 5c21c7ad6a Add variable for debug 8 年之前
LICENSE 43ad9c3501 Create LICENSE 8 年之前
README.md dd52cc6aef 'README.md' ändern 7 年之前
cloudflare.sh 62f031b04f Add Fallback IP 8 年之前
cron 83d68dfabb Remove bash, use cron instead of sleep, update docker name 8 年之前

README.md

Mein erstes Dockerimage ;o)

Als Vorlage hat mir das aufgeführte Docker Image gedient - ich habe nur die Files entsprechend angepasst und führe das Update von DynDNSService damit durch

joshuaavalon/cloudflare-ddns

version Docker Pulls Docker Stars Docker Automated build Docker build MIT

The is a simple docker using curl to update DNS record on Cloudflare. Inspired by rasmusbe/cloudflare-update-record.sh

Compare to nouchka/cloudflare-dyndns (4.0):

  • Smaller size: 3MB vs 54MB
  • Able to update subdomain
  • Update when IP is changed

Usage

docker run  \
	-d \
	-e ZONE=example.com \
	-e HOST=example.com \
	-e EMAIL=example@example.com \
	-e API=1111111111111111 \
	-e TTL=1 \
	-e PROXY=true \
	--name cloudflare \
joshuaavalon/cloudflare-ddns

Parameters

ZONE: Domain, e.g. example.com. Default: example.com

HOST: DNS record to be updated, e.g. example.com, subdomain.example.com. Default: example.com

EMAIL: Cloudflare Email. Default: example@example.com

API: Cloudflare API key. Default: 1111111111111111

TTL: Time to live for DNS record. Value of 1 is 'automatic'. Min value:1; Max value:2147483647. Default: 1

PROXY: Whether the record is receiving the performance and security benefits of Cloudflare. true to enable; false to disable. Default: true