npm

aliyun-dns-auto-setter

0.0.3 • Public • Published

aliyun-dns-auto-setter

Aliyun dns auto setter

install

npm i aliyun-dns-auto-setter -S

usage

const { createTask } = require('aliyun-dns-auto-setter')
const config = {
  "accessKey":"YOUR_ALIYUN_ACCESS_KEY",
  "secretKey":"YOUR_ALIYUN_SECRET_KEY",
  "url":"https://s3.example.com/ddns/a.example.com",
  "domain":"a.example.com",
  intervalWithMinutes:5
}

const task = createTask(config)

or

const { createTask } = require('aliyun-dns-auto-setter')
const config = {
  "accessKey":"YOUR_ALIYUN_ACCESS_KEY",
  "secretKey":"YOUR_ALIYUN_SECRET_KEY",
  "urlList":[
    {
      "url":"https://s3.example.com/ddns/a.example.com",
      "domain":"a.example.com"
    }
  ],
  intervalWithMinutes:5
}

const task = createTask(config)

Readme

Keywords

none

Package Sidebar

Install

npm i aliyun-dns-auto-setter

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

4.49 kB

Total Files

4

Last publish

Collaborators

  • known_rock