Git Product home page Git Product logo

cloudflare-ddns's Introduction

Cloudflare DDNS

A kubernetes cronjob that runs a docker-container every 5 minutes to check & update your external ip.

Setup

Execute kubernetes cronjob

# 1. Clone the repo
git clone https://github.com/mirioeggmann/cloudflare-ddns.git

# 2. Navigate into it
cd cloudflare-ddns

# 3. Edit the k8s-cronjob.yaml according to "Values for k8s-cronjob.yaml"

# 4. Execute the cronjob
kubectl apply -f k8s-cronjob.yaml

Values for k8s-cronjob.yaml

#example
RECORD_ID                    = 372e67954025e0ba6aaa6d586b9e0b59
  • Specify your domain (DNS Record Name)
#example
NAME                         = example.com
  • Specify whether to use Cloudflare's proxying feature. Must be "true" or "false".
#example
PROXIED                         = true
  • Get the ZONE_ID under dash.cloudflare.com -> Your domain -> Overview -> API -> Zone ID
#example
ZONE_ID                      = 023e105f4ecef8ad9ca31a8372d0c353
#example
AUTH_KEY                     = c2547eb745049flc9320b638f5e225cf483cc5cfdda41
  • Specify your cloudflare email
#example
AUTH_EMAIL                   = [email protected]

Values for the second option:

#example API_TOKEN = 4525cf483cc5cfd049flc9320b638f5e2c2547eb7da41

For more Cloudflare API informations read the Cloudflare API documentation v4

Contributors

cloudflare-ddns's People

Contributors

alexander-bauer avatar ashtacore avatar bidluo avatar dependabot[bot] avatar eliolopez avatar eropple avatar mirioeggmann avatar

Watchers

 avatar

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.