GithubHelp home page GithubHelp logo

bellersun / ddns-general Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.11 MB

通用的ddns服务器代码(支持腾讯云、华为云、阿里云)

License: Apache License 2.0

Java 99.03% CSS 0.04% Dockerfile 0.92%

ddns-general's Introduction

ddns-general

General ddns server code that locally stores configurations for your DNS resolution service providers using H2.

Deployment:

Docker image deployment: DockerHub

# Pull the image, choose the tag according to your needs, using the test tag here
docker pull bellersun/ddns-general:test-01
# [3364] is the management page port.
# [/root/ddns-general/h2] is the locally stored configuration; if not mounted, the configuration will be lost when restarting the image.
docker run -d -p 3364:3364 -v ~/ddns-general/h2:/root/ddns-general/h2 bellersun/ddns-general:test-01

Jar deployment:

java -jar ddns-general.jar

Links:

Local H2 database address:http://localhost:3364/console Account: SA, no password

Local backend management page address: http://localhost:3364/html/index

Update Features:

More features will be added in the future:

  • Support for configuring environment variables for port, log directory, and configuration directory
  • Support for more domain resolution providers (If the one you want is not available, please raise an issue)
  • age management of DNS service provider configurations in H2 (Looking for someone to help with the page Basic Page

H2 Database Configuration Options:

  • DNS resolution service provider type
    • TENCENT: Tencent Cloud
    • ALIYUN: Alibaba Cloud
    • HUAWEI: Huawei Cloud
  • Mandatory parameters for DNS resolution service provider, in JSON format.
    • Tencent Cloud: login_token - Login token, generate on the Tencent Cloud official website token setting page
    {"login_token": "yourToken"}
    {"ak": "yourAk","sk": "yourSk"}
    • Huawei Cloud: ak - Access key ID, sk - Secret access key, generate on the Huawei Cloud personal center My Credentials page
    {"ak": "yourAk","sk": "yourSk"}
  • Main Domain: [baidu.com]
  • Resolution Record Values: [www, wiki, @]
  • Resolution Record Type: [A]
  • Local Cache Time for Retrieved Records to Reduce ISP API Calls (seconds): [60000]
  • Scheduled Task Cron String: [0 0/1 * * * ?]
  • Is Scheduled Task Activated: [true]

Dependencies:

The project retrieves the public IP of the physical machine using the IP detection API by BellerSun POST: http://ip.apache.plus


License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation

ddns-general's People

Contributors

bellersun avatar

Stargazers

 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.