Giter Site home page Giter Site logo

ddns's Introduction

ddns

shadowsocks的日本代理晚上高峰期性能不行,使用DNSPOD的API,晚上定时修改IP到新加坡节点shadowsocks

###脚本说明 此脚本根据DNSPOD官方API写的Bash脚本工具,用来修改对应域名的IP地址,且使用XML为返回信息,会产生几个临时文件,但都会在脚本完成后自动删除。

DNSPOD官方API ###操作说明:

  1. 在DNSPOD中,对需要自动修改IP的DNS做mark标记
  2. 在脚本中填写对应参数
  login_email="DNSPD登录邮箱地址"
  login_password="DNSPOD登录密码"
  record_name="需要修改的记录" #如果需要修改**www**的IP地址,则此处填写**www**
  new_ip="${1}" #参数传过来的新IP
  1. 赋予执行权限

chmod +x ddns.sh

  1. 执行

./ddns.sh IP地址

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.