ipsync是使用外部IP地址更新多个云DNS提供程序的脚本
ipsync的Python项目详细描述
开始
要求
- python 2.7+或python 3.3+
安装
ipsync可以与pip一起安装:
$ pip install ipsync
或者直接从源代码:
$ git clone https://github.com/jon-walton/ipsync.git $ cd ipsync $ python setup.py install
基本用法
Usage: ipsync [options] <command> Options: -h --help Show this screen. -v --version Show version. -c FILE --config=FILE Configuration FILE to use [default: ~/.config/ipsync.conf] --dry-run Run but don't make any changes. Available commands: update Resolve current IP address and update all providers
配置
默认情况下,ipsync将在~/.config/ipsync.conf中查找yaml 格式化文件。样本文件在 config/config.sample.yml
namebeaf.com
要使ipsync与namebeach协同工作,必须首先enable it within the control panel 然后在ipsync配置中配置namebeach部分 文件
namecheap: test.com: hostname: www password: password example.com: hostname: test password: 123456
对于贡献者
要求
安装
创建虚拟机:
$ mkvirtualenv ipsync $ workon ipsync $ pip install -r requirements.txt
运行测试:
$ make test $ make tests # includes integration tests
运行静态分析:
$ make pep8 $ make pep257 $ make pylint $ make check # includes all checks
更改日志
0.1.0(2015/01/03)
- Initial release with namecheap.com support