Няма описание

Joshua Avalon 379e98baeb Fix spacing преди 8 години
.dockerignore 0aa76db3ff Update .dockerignore преди 8 години
.gitattributes 3cbb4ed859 Initial Commit преди 8 години
.gitignore 3cbb4ed859 Initial Commit преди 8 години
Dockerfile f6bdcfc754 Move enviroment variables to Dockerfile преди 8 години
LICENSE 43ad9c3501 Create LICENSE преди 8 години
README.md 18883aa11d Add default value to script преди 8 години
cloudflare.sh 379e98baeb Fix spacing преди 8 години
cron 83d68dfabb Remove bash, use cron instead of sleep, update docker name преди 8 години

README.md

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