GithubHelp home page GithubHelp logo

aliddns_java's Introduction

AliDDNS_Java

可以自动将解析地址指向软件所在主机的外网地址。

有一个C#实现:已归档C#实现
这个C#实现的存在,是由于有一个傻子先动的是手而不是脑子去思考跨平台问题而导致的产物。


USAGE

java -jar ./AliDDNS.jar
全平台均可使用
第一次运行会问询Access,和主域名。 目前是明文存储的,这实在是太蠢了,一定会在不远的将来被修复。
会生成两个配置文件,其中appConfigs储存了软件自身的设置,clientConfigs储存了解析记录的设置,单个设置如下:

{
    "inControlling": true,            //是否由软件控制,默认值为false  
    "RR": "rr",                     //RR,即主域名前缀  
    "RecordId": "73xxxxxxxx0029824", //该记录在阿里云的ID,请不要修改,除非你想得到如盘丝洞一样混乱的解析记录  
    "type": "A",                      //解析记录类型  
    "currentValue": "12.34.56.78",    //目前阿里云解析设置的解析目标
    "expectedValue": "98.76.54.32"    //期望的目标,请不要修改,不过改了也没用的
  }

若要软件帮助你控制一条记录,则将inControlling置为true即可,不需其他设置。


WARNING
获取外部IP的方式是访问IP查询网址,因此请注意 确保程序不会被代理,或在代理中放行http://ipv4.icanhazip.com/
当然你也可以使用服务器搭建自己的查询response

aliddns_java's People

Contributors

keeptpa avatar

Stargazers

 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.