Giter VIP home page Giter VIP logo

dloucflare's Introduction

DLOUCFLARE (RECONNSTRUCTION)

To run at a server which has a dynamic IP and cloudflare service. It can dynamic modify your DNS record by your realtime IP address.

WHAT'S THIS

It's a NODE.JS based project (or even a tool).

Your server is running under a dynamic IP? Want something to modify DNS record to the real-time IP address automatically? Maybe DloucFlare can help you. In fact, Zanarberry is using it.

But first of all, you should have a CloudFlare account. We use the first and last letter of Dynamic to put on Cloud, so we get DloucFlare.

PRE-WORK

Go http://www.cloudflare.com and register for an account. But I think you'd better to know the detail information or features of CloudFlare before you use it.

Add your own domain on CloudFlare and do as it said.

After you set up your own domain settings on CloudFlare, you can use DloucFlare now.

Example

Go to your own NODE.JS project directory and get this package from npm:

$ cd /your/path
$ npm install dlouc-flare

And then create your app.js. The code is very simple:

var dloucflare = require("dlouc-flare");
var df = dloucflare.create("[email protected]", "API KEY", "doma.in");
df.dynamicDomains([ "sub1", "sub2", "..." ], CHECK_ROUND_TIME);

Just start up this app.js. If you want it run at the backend, you can use nohup command:

$ nohup node app.js > foo.log 2>&1 &

CONTACT

If you want contribute to this project, you can fork it!

And if you have some question, you can post it to ISSUES or contact me:

This project is working for my own ZSG. Because it's China Mobile Broadband, so maybe China Telecom Broadband can't access to it.

OLD VERSION

The v0.0.2 version is here.

CONTRIBUTION

You're welcome to pull request!

dloucflare's People

Contributors

xadillax avatar

Watchers

Yuanguo Wang 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.