Giter Club home page Giter Club logo

upgradedns's Introduction

UpgradeDNS

功能介绍

用于将阿里云解析到动态ip
如果服务器位于 动态公网ip 的环境,那么多数用户在使用 花生壳 等第三方实现动态域名解析,速度慢,最主要二级或者多级域名 不专业
如果你刚好使用了阿里云的域名云解析,那么此时,你可以使用本脚本实现 一级域名 的动态解析了。

使用方法

  1. 安装 python2.7 (必须)
  2. 安装阿里云api的python sdk
pip2.7 install aliyun-python-sdk-core
pip2.7 install aliyun-python-sdk-alidns
  1. 阿里云控制台申请 "Access Key" ,并修改脚本中的 "ID""Secret"
  2. 如有ECS, "RegionId" 设置为对应区域,没有ECS就保持不变
  3. "HostNameList" 添加需要自动更新的域名
  4. "Type" 为dns类型,默认为 A记录
  5. 脚本使用
python2.7 UpgradeDNS.py
  1. 其他 如果ip经常会自动更换,也可以设置定时任务,定时执行脚本哦。

upgradedns's People

Contributors

x-mars avatar

Watchers

James Cloos 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.