Skip to main content

Command line update for No-IP and Dyn DDNS Update API

Project description

noipy: DDNS update tool

https://badge.fury.io/py/noipy.png https://travis-ci.org/povieira/noipy.png?branch=master https://pypip.in/d/noipy/badge.png https://coveralls.io/repos/povieira/noipy/badge.png?branch=master https://badge.waffle.io/povieira/noipy.png?label=ready https://zenodo.org/badge/4128/povieira/noipy.png

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

To install noipy, simply:

$ pip install noipy

Usage

Basic usage of noipy command line tool:

$ noipy -u <your username> -p <your password> -n <your hostname on DDNS provider>
        --provider {noip|dyn|duck}

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

$ noipy -u <your token> -n <your DuckDNS domain> --provider duck

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

$ noipy --hostname <your hostname on DDNS provider> --provider {noip|dyn| duck}

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

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

$ noipy --hostname <your hostname on DDNS provider> 127.0.0.1

For details:

$ noipy --help

Storing auth information

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

$ noipy --store --username <your username> --password <your password> \
    --provider {noip|dyn| duck}

Or simply:

$ noipy --store --provider {noip|dyn| duck}

And type username and password when required.

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

Contributing

Source code

noipy source code can be found at GitHub repo: https://github.com/povieira/noipy/

Running tests

$ python setup.py test

Improvements & Troubleshooting

If you have suggestions or find any bug, please feel free to report them using this project’s issue tracker.

Changelog

1.2.1 (2014-06-30)

  • Bug fix (execution via command line. issue #5)

1.2.0 (2014-04-21)

1.1.4 (2013-08-29)

1.1.3 (2013-07-24)

  • Python 3.3 compatibility

1.1.0 (2013-05-15)

1.0.1 (2013-05-10)

  • Added flexibility to DNS updater with abc.ABCMeta
  • Code organization
  • Manual settings file removed (auth info can be stored via command line)

0.1.0 (2013-03-22)

  • Conception

Project details


Release history Release notifications

History Node

1.5.1

History Node

1.5.0

History Node

1.4.4

History Node

1.4.3

History Node

1.4.2

History Node

1.4.1

History Node

1.4.0

History Node

1.3.1

History Node

1.3.0

History Node

1.2.3

History Node

1.2.2

This version
History Node

1.2.1

History Node

1.2.0

History Node

1.1.4

History Node

1.1.3

History Node

1.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
noipy-1.2.1.tar.gz (14.3 kB) Copy SHA256 hash SHA256 Source None Jun 30, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page