Skip to content

dmitriy-olhovsky/cloudflare-ddns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Setup

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

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.

About

Simple dynamic DNS via Cloudflare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%