可扩展的动态IP更新程序。
update-ip的Python项目详细描述
一个可扩展的Python实用程序,用它自动更新IP地址 动态DNS服务,或通知您此类更改。 目前,我们支持以下服务:
- WebFaction
- NearlyFreeSpeech
此实用程序设计为运行 周期性地通过cron之类的调度工具来保持您的ip地址 当前。
安装
$ pip install update-ip
初始设置
需要一个配置文件来存储各种选项这个文件可以是 通过向导创建,运行:
$ update-ip -w
它将显示可用服务的列表,并询问
- where the configuration file should be kept
- where the cache file should be kept (stores last known ip)
- which domains do you want to update
- the name of the service to run on IP change
- service-dependent options
域应该用逗号分隔,不能有空格。
正常使用
$ update-ip /path/to/configuration/file
自动域
如果配置文件中没有配置域,则更新程序将 只更改与上一个已知IP匹配的域的IP此功能 可能并非所有服务都可用。
贡献
非常感谢您对本项目的贡献!请发送拉 请求或补丁,我们很乐意合并或应用它们。
发展发生在[https://github.com/bkonkle/update-ip](https://github.com/bkonkle/update-ip)