Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 511 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 511 Bytes

Prerequisite

To use blah.<mydomain> for ddns, <mydomain> should be registered to cloudflare

Usage

Native

pip install requests

export CF_EMAIL=<your_cloudflare_email> 
export CF_APIKEY=<your_cloudflare_apikey> 
export CF_DDNS_DOMAIN=<domain_for_ddns> 

python ddns.py

Docker

docker run -e CF_EMAIL=<your_cloudflare_email>   \
           -e CF_APIKEY=<your_cloudflare_apikey> \
           -e CF_DDNS_DOMAIN=<domain_for_ddns>   \
           -d tee0125/cloudflare-ddns