README.md 2.3 KB

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