Giter Site home page Giter Site logo

baidu_ddns's Introduction

百度云 DDNS 使用说明文档

利用百度 API 中的 DNS 更新模块 封装而成

功能

  • 动态获取本机指定 IP
  • 自动对比当前本地 IP 与域名指向的IP
  • 当本地 IP 发生变化时自动向远程同步
  • 可以同步 A 记录(IPv4)和 AAAA 记录(IPv6)
  • 可以配置同步频率,同步IP类型
  • 保留较为完整的日志

使用方法

  1. assets/config.json 中配置自己的一级域名和 AK、SK
  2. main.py 中配置更新频率与同步 IP 类型
  3. 安装相关依赖包
pip install -r requirement.txt
  1. 运行 main.y
python main.py

参考资料

baidu_ddns's People

Contributors

zywvvd avatar

Stargazers

 avatar yuanshuai avatar  avatar tsc avatar 2n1 avatar

Watchers

 avatar

Forkers

aitsc sjm132

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.