Giter Site home page Giter Site logo

nhymxu / cf-dns-update-python Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 31 KB

Dynamic DNS record update utility for CloudFlare DNS service. Python implemented

License: BSD 3-Clause "New" or "Revised" License

Python 97.96% Shell 2.04%
python cloudflare dns ddns-client ddns-updater dynamic-dns-client dynamic-dns-script dynamic-dns-updater

cf-dns-update-python's Introduction

Hi there ๐Ÿ‘‹

If you're reading this, I hope these puppies will make your day.

puppies running

cf-dns-update-python's People

Contributors

eduardozgz avatar nhymxu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

eduardozgz

cf-dns-update-python's Issues

Support load custom config file (name, location)

Currently, script read config.ini from current directory.
But sometime I want load config file with other name, or other location.

Example:

python cf-dns-update.py other-config-file.ini
python cf-dns-update.py /etc/cf-dns-update/config.ini

Using built-in library argparse, script can run smooth without install package

Handle multi record name for one domain

Example:
I have domain dungnt.net.
I want update IP for test.dungnt.net and test2.dungnt.net

In current version. Config file like this:

[test.dungnt.net]
zone_id = xxx
record = test.dungnt.net

[test2.dungnt.net]
zone_id = xxx
record = test2.dungnt.net

But it have same zone_id. So it duplicated.

allow choose service get public IP

Currently, hard-coded service get public IP

Next version:
Allow user can set service want using on config [common] section

If not set or empty -> using default

[FEAT]: not store previous update IP to file

Description

As user, sometime I don't know IP store on file match with IP on CloudFlare DNS or not.

So I think not using this method.
Replace with function get current IP on CloudFlare is better.

Additional Information

No response

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.