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
Metadata
Release files for ipsync 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipsync-0.1.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ipsync-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / ipsync-0.1.0.tar.gz
| Download URL | ipsync-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ec69aabfc72f74e68948050064fb829a05df1fb14424d5b6f4306c5789b2184
|
|
BLAKE2b-256 checksum How to use checksums |
49b85e424d06ee4c547f2d11c0309c6cc7cb538aa7bda741edcb833a4274a194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ipsync-0.1.0-py3-none-any.whl
| Download URL | ipsync-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e97f5e05d8507347e6ac125d902518e6ebb05b3d1a03da632d0acfb2ae96e67
|
|
BLAKE2b-256 checksum How to use checksums |
feb678ff9e16a151230a0e22d75770369858bacb2372af92c990c56198829b25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |