Giter Site home page Giter Site logo

ddns's Introduction

DDNS

说明

通过定时更新域名解析来实现ddns功能。如果路由器支持ddns更好,不过我的路由器不支持,所有开发脚本动态更新域名解析来时间ddns功能。

准备

  • 宽带拨号具有公网ip
  • 局域网长时间运行主机一台
  • 阿里云已备案域名一个
  • 数据库(可有可无)

流程

ddns流程图

运行

进入项目目录,创建虚拟环境

python3 -m venv .env

安装依赖

source .nat/bin/activate

pip install -r requirements.txt

deactivate

每分钟运行一次脚本

*/1 * * * * /home/root/ddns/.env/bin/python3 /home/root/ddns/update_dns.py

ddns's People

Contributors

dukenan 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.