ipsync is a script to update multiple cloud DNS providers with your external IP address
Project description
ipsync
ipsync is a script to update multiple cloud DNS providers with your external IP address. Useful for when you need to connect to a system on a dynamic IP.
Getting Started
Requirements
Python 2.7+ or Python 3.3+
Installation
ipsync can be installed with pip:
$ pip install ipsync
or directly from the source code:
$ git clone https://github.com/jon-walton/ipsync.git $ cd ipsync $ python setup.py install
Basic Usage
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
Configuration
By default, ipsync will look in ~/.config/ipsync.conf for a yaml formatted file. A sample file is in config/config.sample.yml
Namecheap.com
For ipsync to work with namecheap, you must first enable it within the control panel and then configure a namecheap section within the ipsync configuration file
namecheap: test.com: hostname: www password: password example.com: hostname: test password: 123456
For Contributors
Requirements
Make:
Windows: http://cygwin.com/install.html
Linux: http://www.gnu.org/software/make (likely already installed)
virtualenv: https://pypi.python.org/pypi/virtualenv#installation
Graphviz: http://www.graphviz.org/Download.php
Installation
Create a virtualenv:
$ mkvirtualenv ipsync $ workon ipsync $ pip install -r requirements.txt
Run the tests:
$ make test $ make tests # includes integration tests
Run static analysis:
$ make pep8 $ make pep257 $ make pylint $ make check # includes all checks
Changelog
0.1.0 (2015/01/03)
Initial release with namecheap.com support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ipsync-0.1.0.tar.gz
.
File metadata
- Download URL: ipsync-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ec69aabfc72f74e68948050064fb829a05df1fb14424d5b6f4306c5789b2184 |
|
MD5 | 600e30a47104877e1e5ad0fb0944c745 |
|
BLAKE2b-256 | 49b85e424d06ee4c547f2d11c0309c6cc7cb538aa7bda741edcb833a4274a194 |
File details
Details for the file ipsync-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ipsync-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e97f5e05d8507347e6ac125d902518e6ebb05b3d1a03da632d0acfb2ae96e67 |
|
MD5 | f0be6a96ba20fc02147ac94667e8442a |
|
BLAKE2b-256 | feb678ff9e16a151230a0e22d75770369858bacb2372af92c990c56198829b25 |