fabianb13 / cloudflare-ddns

A tiny python script that updates a cloudflare dns record with your current ip.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloudflare DDNS python script

A tiny python script that updates a cloudflare dns record with your current ip.

Useful for raspberry pi projects for example.

In the current setup, it is expected that you clone this repo to /home/pi and don't change its name.

You need to put an .env file into /home/pi/cloudflare-ddns that looks like .env-example.

Run make to install dependecies.

You can then register a cronjob executing /home/pi/cloudflare-ddns/ddns.sh in an interval of choice.

About

A tiny python script that updates a cloudflare dns record with your current ip.


Languages

Language:Python 82.9%Language:Makefile 10.7%Language:Shell 6.4%