Skip to content

A service to check the IP address that points to the current machine, and update Cloudflare's DDNS system with our domain name.

License

Notifications You must be signed in to change notification settings

camrockz/Cloudflare-DDNS-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare DDNS Updater

A service to check the IP address that points to the current machine, and update Cloudflare's DDNS system with our domain name.

Requirements

  • GCC or Clang
  • Libcurl
  • Libjson-c
  • CMake 3.0+
  • Systemd (optional)

Building

git clone https://github.com/camrockz/Cloudflare-DDNS-Updater.git
mkdir build
cd /build

With systemd support

cmake .. -DCMAKE_BUILD_TYPE=release -DSYSTEMD=ON
make

Without systemd support

cmake .. -DCMAKE_BUILD_TYPE=release -DSYSTEMD=OFF
make

Install and Run

In a root user shell

cp ipup /usr/bin/
mkdir /etc/ipup
cp ../ipup.conf /etc/ipup/
chown root:root /usr/bin/ipup /etc/ipup/ipup.conf

Now edit /etc/ipup/ipup.conf with your cloudflare settings

For systemd use

cp ../ipup.service /usr/lib/systemd/system/
systemctl enable ipup
systemctl start ipup

For init systems other than systemd, install a startup script for the ipup executable as per instructions for your init system.

About

A service to check the IP address that points to the current machine, and update Cloudflare's DDNS system with our domain name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published