Giter VIP home page Giter VIP logo

ddns-cloudflare's Introduction

ddns-cloudflare

Dynamic IP DNS Agent for Cloudflare DNS

ddns-cloudflare can help you keep a DNS A record updated when your target IP is dynamic (like many home connections). Current implementation works only with Cloudflare as the DNS provider. It uses akami to get the NAT Gateway IP.

Usage

The cli documentation

Dynamic DNS agent for Cloudflare A records

USAGE:
    ddns-cloudflare [FLAGS] [OPTIONS] --domain <domain> --zone-identifier <zone-identifier>

FLAGS:
    -h, --help        Prints help information
    -i, --interval    Frequency to check IP changes in minutes
    -V, --version     Prints version information

OPTIONS:
        --auth-token <auth-token>              API token generated on the "My Account" page [env: CF_RS_AUTH_TOKEN=]
    -d, --domain <domain>                      Domain to attach A record
    -z, --zone-identifier <zone-identifier>    Zone identifier for the DNS record

Installation

The following methods can be used to install the tool

Docker

Use the pre built docker images (~10MB) bilby91/ddns-cloudflare.

Supported Architectures:

  • bilby91/ddns-cloudflare:x86_64-latest
  • bilby91/ddns-cloudflare:armv7-latest

A tipical run invocation:

docker run --restart=always --detach -e CF_RS_AUTH_TOKEN=XXX-e RUST_LOG=info bilby91/ddns-cloudflare:x86_64-latest ./ddns-cloudflare --interval=10  --domain="my.domain.com" --zone-identifier=MY-CLOUDFLARE-ZONE-ID

Build from source

In order to build from source you will need to install Rust toolchain with rustup.

Then you can build the source with the following commands:

cargo build --release.

If you are looking for cross target compilation, install cross

Contact

ddns-cloudflare's People

Contributors

bilby91 avatar

Watchers

 avatar  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.