Git Product home page Git Product logo

-http_python-aliddns_ipv4-ipv6's Introduction

Docker实现阿里云域名DDNS支持ipv4和ipv6

使用url请求来将新的公网地址同步到阿里云

Best Practice

搭配RouterOS内置的脚本功能可以实现公网地址更新,而且不依赖于任何的第三方公网ip获取工具,有效避免梯子等原因导致无法获取正确ip,或者第三方网站暂时下线等原因

食用方法

用写好的Docker-compose就能从源码编译并启动 或者从Docker-hub拉取

docker run --name=http-aliddns-server -p 5002:5000 -e ACCESSKEYID=key123 -e ACCESSSECRET=secret123 itsdapi/http-aliddns-server:latest

然后通过GET请求访问

http://your.ip:5000/updateV4?ip=1.1.1.1&domain=example.org&record=abc

将your.ip替换成服务器ip 有updateV4, updateV6可选 然后domain填自己域名,record就是域名最前面的那个

环境变量

ENV desc
ACCESSKEYID 阿里云访问id
ACCESSSECRET 阿里云访问密钥

-http_python-aliddns_ipv4-ipv6's People

Contributors

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