Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 767 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 767 Bytes

Intro

快速实现三级域名解析基于CloudXNS,dc-ctl 子项目之一

功能

  • 初始化一个随机三级域名泛解析
  • 删除指定三级域名
  • 更新指定三级域名

使用

Code

./domain.py domain -h  
usage: domain.py [-h] domain <subcommand> ...

positional arguments:
  domain        resolve domain
  <subcommand>
    init        init domain resolve
    del         del domain resolve
    update      update domain resolve

optional arguments:
  -h, --help    show this help message and exit

Docker

docker run -it --rm -v $PWD/config.py:/tmp/config.py projectdc/ex_domain:master init --ip <ip>

docker run -it --rm projectdc/ex_domain:dev init --ip <ip>

Todo

[ ] 支持ali dns