Skip to content
forked from pv8/noipy

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

License

Notifications You must be signed in to change notification settings

jayennis22/noipy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noipy: DDNS update tool

https://travis-ci.org/povieira/noipy.svg?branch=master https://badge.waffle.io/povieira/noipy.svg?label=ready https://zenodo.org/badge/doi/10.5281/zenodo.10749.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 {generic|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 {generic|noip|dyn| duck}

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

$ noipy --hostname <your hostname on DDNS provider> [--provider  generic]
        --url <custom DDNS URL>

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

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

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 {generic|noip|dyn| duck}

Or simply:

$ noipy --store --provider {generic|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.

Copyright & License

Copyright (c) 2013 Pablo O Vieira (povieira). This software is licensed under the Apache License, Version 2.0.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%