All Projects → lyoshenka → Cloudflare Ddns

lyoshenka / Cloudflare Ddns

Simple, free dynamic DNS via Cloudflare

Projects that are alternatives of or similar to Cloudflare Ddns

K8s Gitops
Kubernetes cluster managed by GitOps - Git as a single source of truth, automated pipelines, declarative everything, next-generation DevOps
Stars: ✭ 110 (-22.54%)
Mutual labels:  cloudflare
Pw Pwnage Cfworker
Deploy a Cloudflare Worker to sanely score users' new passwords with zxcvbn AND check for matches against haveibeenpwned's 7.8+ billion breached accounts
Stars: ✭ 125 (-11.97%)
Mutual labels:  cloudflare
Cloudflare Workers Async Google Analytics
☁️ The Cloudflare Workers implementation of an async Google Analytics
Stars: ✭ 135 (-4.93%)
Mutual labels:  cloudflare
Cloudflare
An asynchronous Ruby wrapper for the CloudFlare V4 API.
Stars: ✭ 113 (-20.42%)
Mutual labels:  cloudflare
Cloudflare Api V4 Ddns
Cloudflare API v4 Dynamic DNS Update in Bash
Stars: ✭ 124 (-12.68%)
Mutual labels:  cloudflare
Cloud Buster
A Cloudflare resolver that works
Stars: ✭ 128 (-9.86%)
Mutual labels:  cloudflare
A Better Browser
Let users know when their browser needs an upgrade!
Stars: ✭ 106 (-25.35%)
Mutual labels:  cloudflare
Packages
📦 Package configurations - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 139 (-2.11%)
Mutual labels:  cloudflare
Bash Utils
A collection of hand-crafted bash scripts for various common tasks.
Stars: ✭ 124 (-12.68%)
Mutual labels:  cloudflare
K3s Gitops Arm
k3s cluster backed by Flux (GitOps) up and running on a cluster of RPi4
Stars: ✭ 135 (-4.93%)
Mutual labels:  cloudflare
Serverless Cloudflare Workers
Serverless provider plugin for Cloudflare Workers
Stars: ✭ 114 (-19.72%)
Mutual labels:  cloudflare
Patch
Something could be public patches
Stars: ✭ 120 (-15.49%)
Mutual labels:  cloudflare
Worker Typescript Template
ʕ •́؈•̀) TypeScript template for Cloudflare Workers
Stars: ✭ 129 (-9.15%)
Mutual labels:  cloudflare
Cloudflare Ddns
Script for dynamically updating a CloudFlare DNS record. (Deprecated)
Stars: ✭ 112 (-21.13%)
Mutual labels:  cloudflare
V2ray Agent
(VLESS+TCP+TLS/VLESS+TCP+XTLS/VLESS+gRPC+TLS/VLESS+WS+TLS/VMess+TCP+TLS/VMess+WS+TLS/Trojan+TCP+TLS/Trojan+gRPC+TLS/Trojan+TCP+XTLS)+伪装站点、八合一共存脚本,支持多内核安装
Stars: ✭ 4,133 (+2810.56%)
Mutual labels:  cloudflare
Gun
Toy gRPC Tunnel over CloudFlare (Proof of Concept)
Stars: ✭ 108 (-23.94%)
Mutual labels:  cloudflare
Cloudflare Rs
Rust library for the Cloudflare v4 API
Stars: ✭ 126 (-11.27%)
Mutual labels:  cloudflare
Striker
Striker is an offensive information and vulnerability scanner.
Stars: ✭ 1,851 (+1203.52%)
Mutual labels:  cloudflare
Bhadoo Cloud
Directly Upload to Google Drive from Torrent or URLs
Stars: ✭ 136 (-4.23%)
Mutual labels:  cloudflare
Nginx Ee
Automated Nginx compilation from sources with additional modules support. Compatible with WordOps, EasyEngine & Plesk
Stars: ✭ 132 (-7.04%)
Mutual labels:  cloudflare

cloudflare-ddns

A dynamic DNS script (written in PHP) that uses CloudFlare's free DNS and their API to set up a dynamic DNS record pointing to your server.

How To Use

git clone https://github.com/lyoshenka/cloudflare-ddns.git
cd cloudflare-ddns
cp config.php.skel config.php
### Edit config.php - enter your CloudFlare credentials and domain details
./ddns.php

If everything works, put it in your crontab.

0 * * * * /path/to/cloudflare-ddns/ddns.php -s

Extra feature: API mode

If you want, you can put this script on a web server and use the "dynamic DNS" option of your router to trigger the IP update.

To do this, first enable API mode by setting an auth_token value in your config.

Then, configure your router to call the script like this: https://example.com/ddns.php?auth_token=YOUR_TOKEN&ip=IP_ADDR

License

Uncopyrighted. Do whatever you want. I hope this code makes you rich. Spiritually.

No PHP?

For an even simpler version written in Bash, see this gist.

Development

Use php-cs-fixer like php-cs-fixer fix ddns.php [email protected] to enforce code style.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].