pv8 / noipy

Command line tool to update DDNS: No-IP, DuckDNS and DynDNS hosts IP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noipy: DDNS update tool

image

image

Snap Status

Snap Trending

image

image

Code Health

Maintainability

image

Command line tool to update DDNS hosts IP address via update API. Initially the tool was designed to update IP address only on No-IP DDNS provider. But now noipy has support for the following DDNS providers:

Installation

Install with pip:

Or with Snappy on supported distros:

Note: noipy will also install the Requests HTTP library.

Usage

Basic usage of noipy command line tool:

For DuckDNS provider, the command line would look like this:

Or you can just use --hostname (-n) and --provider arguments if you have previously stored your auth information with --store option.

You can also specify a custom DDNS URL (thanks to @jayennis22):

It is also possible to inform an IP address other than the machine's current:

If --provider option is not informed, generic will be used as provider.

For details:

Storing auth information

With --store option it is possible to store login information. The information is sotred in $HOME/.noipy/ directory:

Or simply:

And type username and password when required.

Note: password is stored simply encoded with Base64 method and is not actually encrypted!

Running tests

Install tests dependencies (tox and flake8):

Test the code against all supported Python versions and check it against PEP8 with tox:

Check PEP8 only:

License

Copyright (c) 2013 Pablo Vieira (pv8).

About

Command line tool to update DDNS: No-IP, DuckDNS and DynDNS hosts IP

License:Apache License 2.0


Languages

Language:Python 98.1%Language:Makefile 1.9%