Giter VIP home page Giter VIP logo

alidns's Introduction

alidns

update domain record using AliCloud Go SDK. ip is fetched from https://ifconfig.me.

更新阿里云域名的解析IP地址。IP地址从https://ifconfig.me 获取

Usage

  • 此处申请AccessKey。

  • config.json文件中填入AccessKey和AccessSecret,以及需要更新的域名、主机记录。

  • 运行alidns程序。如果config.json配置文件信息正确,会输出success信息。

  • (默认配置文件为./config.json,如需自定义配置文件,执行alidns -config /path/to/config.json)

  • First, create an AccessKey at https://usercenter.console.aliyun.com/.

  • Then fill in config.json the AccessKey, AccessSecret, and the domain you want to setup.

  • Run alidns. If provided correct config file, things should work fine.

  • (config file defaults to ./config.json. To specify another config file, run alidns -config /path/to/config.json)

To compile from source

  • Install Aliyun Go SDK by running go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk.
  • Run go build alidns.go. Run go mod init alidns if needed.

Release

Windows

alidns.zip (to be updated.)

Linux

alidns.tar.gz (to be updated.)

alidns's People

Contributors

jiacai-wang avatar wngjiancui 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.