ipsync是使用外部IP地址更新多个云DNS提供程序的脚本

ipsync的Python项目详细描述


ipsync

ipsync是一个脚本,用于使用 外部IP地址。当您需要连接到 动态IP。

Build Status
Coverage Status
Scrutinizer Code Quality
PyPI Version

开始

要求

  • 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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
javascript如何在jQuery函数中传递两个值,该函数获取数据并使用ajax发送到服务器?   java IOSDriver()不工作。相反,当我在测试用例通过时使用RemoteWebDriver()时,它正在打开远程会话   使用java对blob几何体进行二进制解码   java错误:Gradle:运行在Ubuntu 16.04上的Intellij 2017中的任务执行失败   java Lotus Notes邮件文档获取附件名称(和导出附件)   java如果库有副作用,这样可以吗?   java Javabat帮助:alarmClock   加载类时未初始化java静态变量   java限制htmlunit中的带宽   java Column_layout在安卓 tablelayout中不起作用   java在倒计时和打印循环时遇到问题   虚拟机我需要一个如何访问java虚拟机中的文件的帮助   java图像处理程序中的多线程