tcloud-cns-tool

command module
v0.0.0-...-4653545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2023 License: MIT Imports: 16 Imported by: 0

README

tcloud-cns-tool

Go Report Card

腾讯云-域名解析-查询设置-工具, 代码修改自tcloud-cns

编译

# git clone https://github.com/esrrhs/tcloud-cns-tool.git
# cd tcloud-cns-tool
# go build

使用

  • 去腾讯云申请API密钥,地址:capi,拿到SecretIdSecretKey
  • 查询名下域名解析
# ./tcloud-cns-tool -secretId xxxx -secretKey yyyy -domain yourdomain.com -l
  • 设置域名解析,内部实现会先删除再添加
# ./tcloud-cns-tool -secretId xxxx -secretKey yyyy -domain yourdomain.com -s -name test -value 1.2.3.4

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL