Code Monkey home page Code Monkey logo

cloudflare-ddns's Introduction

☁️ Cloudflare DDNS

A simple dynamic domain name server solution for cloudflare.

✅ Features

  • IPv4 and IPv6 compatible
  • Supports multiple DNS records with the same type and name details
  • Secure connection to Cloudflare API using HTTPS
  • Open source

🔧 Setup

  • Download the git repo using git clone https://github.com/TomStowe/Cloudflare-DDNS
  • Update config.json with the following values for each cloudflare domain:
    • Add your authentication details (either your email address and key or your token which is capable of edit DNS functionality). Find out more here
    • Add the zoneId, found in the overview tab of the cloudflare dashboard
    • Add the relevant DNS details (name and type fields are required) for each DNS record you want to update
  • Run python3 setup.py to setup the config (this will need to be re-run if you update the DNS records on cloudflare that are stored in the config at any point)
  • Schedule the DDNS script to run on startup of the machine. For example using a cron job: run crontab -e and add @reboot /usr/bin/python3 CURRENT_DIRECTORY/main.py

🎓 Licence

This software is released under the GNU AGPLv3 licence

👨 The Author

Please click here to see more of my work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.