Sign inSign up

esrrhs/tcloud-cns-tool

By esrrhs

•Updated over 5 years ago

腾讯云-域名解析-查询设置-工具

Image
0

1.7K

esrrhs/tcloud-cns-tool repository overview

⁠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⁠,拿到SecretId、SecretKey
  • 查询名下域名解析
# ./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

Tag summary

Content type

Image

Digest

Size

51.5 MB

Last updated

over 5 years ago

docker pull esrrhs/tcloud-cns-tool