Sign inSign up

nzleadrain/cloudflare-ddns-update

By nzleadrain

•Updated over 2 years ago

Simple container, detects your public ip address & updates a single host record via cloudflare API

Image
Networking
0

1.3K

nzleadrain/cloudflare-ddns-update repository overview

⁠CloudFlare DDNS Updater

Yes!, Another one! :)

⁠Description

This is a simple container that runs a script to detect the public ip address of the network that the container is running from, and updates a A record on Cloudflare to the detected ip address.

⁠Configuration

You configure the script by setting the following environment variables. (all are required)

  • CF_EMAIL="[email protected]⁠" #Your Cloudflare email address
  • CF_KEY="aaaabbbbccccdddd1111222233334444" #Your Cloudflare API key
  • CF_ZONE_ID="aaaabbbbccccdddd1111222233334444" # The zoneid where the record sits (you need to find this with api calls)
  • CF_HOST_ID="aaaabbbbccccdddd1111222233334444" # The record ID for the hostname (again with API calls)
  • CF_PROXIED="true" # Do you want to enable Cloudflare proxying for the record (defaults to false)
  • CF_HOSTNAME="host.domain.com" # The human readable A record name

Documentation on how to obtain this information is a TODO but is available from Cloudflare in the API documentation.

⁠github repository

https://github.com/NZLeadRain/cloudflare-ddns-update⁠

Tag summary

Content type

Image

Digest

sha256:1dfa228fe…

Size

50.8 MB

Last updated

over 2 years ago

docker pull nzleadrain/cloudflare-ddns-update